Kantar interview question

Program on prime numbers