Cisco Interview Question

prime number, odd even using two threads