GlobalLogic Interview Question

write a program to print even and odd numbers using two threads