Anonymous interview question

write code for prime numbers