3Edge interview question

write program to find the prime numbers