Capgemini interview question

write a code to find prime numbers