EAI Technologies Interview Question

Number is prime or not?