Tech Mahindra interview question

Fibonacci series program. Print even odd using thread and synchronization