Pergunta de entrevista da empresa Software AG

print number sequentially using 2 thread. Map implementation