Олимпиадный тренинг

Задача 21768. Prime numbers - 1


Find the number of all four-digit prime numbers ending in k.

Input 
Number k.

Imprint 
Output a number - the number of prime numbers that satisfy the condition of the problem. If there are no such numbers, then output the word Absent.

Examples
# Input Output
1 1 266
2 0 Absent