<filename>41:A - Translation/script.py
e,i=list(raw_input()),raw_input()
e.reverse()
print(  "YES" if ''.join(e) == i else "NO" )
<filename>41:A - Translation/script.py
e,i=list(raw_input()),raw_input()
e.reverse()
print(  "YES" if ''.join(e) == i else "NO" )