Please log in with GitHub in order to
save solutions and appear on the leaderboards.
An emirp (prime spelled backwards) is a prime number that results in a
different prime when its decimal digits are reversed. For example both
13 and 31 are emirps.
Print all the emirp numbers from 1 to 1000 inclusive, each
on their own line.