Thomson Reuters interview question

Even odd program using multithreading.