Created
December 10, 2017 01:51
-
-
Save whatalnk/b15ac9329263ec138d684b71e472c760 to your computer and use it in GitHub Desktop.
AtCoder ABC #077
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r1 = input() | |
r2 = input() | |
if r1 == r2[::-1] and r2 == r1[::-1]: | |
print("YES") | |
else: | |
print("NO") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment