#T69. 绝对素数
绝对素数
Description
A natural number is called an absolute prime if it is a prime number and remains prime when its digits are swapped. For example, 13 is an absolute prime because both 13 and 31 are primes. Write a program to find all two-digit absolute primes.
Input Format
(None)
Output Format
All two-digit absolute primes listed in ascending order, one number per line.
11
13
17
31
37
71
73
79
97
(无)
(无)