#t164. 回文三位数
回文三位数
Palindromic Three-Digit Primes
Problem Background
Special for beginners, ^_^
Problem Description
A number is called a palindrome if it reads the same from left to right as from right to left — for example, is a palindrome. Find all three-digit numbers that are both palindromes and primes.
Input Format
(None)
Output Format
Output all three-digit numbers that are both palindromes and primes, one number per line.
Sample Input
(no input)
Sample Output
(no output)
Constraints
1s, 1024KiB for each test case.