IntPalindrome/olya.volodina
IntPalindrome/ansemenov
n1x_origin = int(input())n1x = int(input())
2if x_origin % 10 == 0:2if x % 10 == 0:
3    print('NO')3    print('NO')
4    exit()4    exit()
n5x = x_originn5base = x
6result = 06rev = 0
7while x > 0:7while x > 0:
n8    result = result * 10 + x % 10n8    rev = rev * 10 + x % 10
9    x = x // 109    x = x // 10
t10print('YES') if x_origin == result else print('NO')t10if base == rev:
11    print('YES')
12else:
13    print('NO')
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op