Kantar interview question

Programs on prime no and adding palindrome