Pergunta de entrevista da empresa Deutsche Telekom

Implement a multi-threaded application which prints 1...N, where each thread prints only 1 number, before waiting for another thread to print another number.