Please login with GitHub in order to save solutions and appear on the leaderboards.

# Emirp Numbers

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.

**arguments**holds ARGV,

**print()**to output with a newline,

**write()**to output without a newline.

**say**,

**signatures**, and

**state**are available without any import.