A number is emrip if it is not a palindrome number and its reverse is also prime .
if ( p != rev and rev <= n and prime [ rev ] == 1 ) : NEW_LINE INDENT print ( p , rev , end = " ▁ " ) ; NEW_LINE DEDENT