Expleo Group Interview Question

Palindrome or not Prime number