Atos interview question

Write a program to find prime number