We define "strange" numbers in the following way. All strange numbers are prime. Every one digit prime number is strange and a number of two or more digits is strange if and only if so are the two numbers obtained from it by omitting either its first or its last digit. Find all strange numbers.

This problem comes from the Hungarian magazine KöMaL. You can find many other challenging problems in English on the KöMaL website