str = input()
res = True
for i in range(len(str)):
    if str[i] != str[len(str) - 1 - i]:
        res = False
        break
if res:
    print(str)
    print('Yes')
else:
    print(str)
    print('No')

48d3205f17eed4958d4d044c5a2ed6f5466bd034
<mask token>

<mask token>
for i in range(len(str)):
    if str[i] != str[len(str) - 1 - i]:
        res = False
        break
if res:
    print(str)
    print('Yes')
else:
    print(str)
    print('No')

str = input()
res = True
for i in range(len(str)):
    if str[i] != str[len(str) - 1 - i]:
        res = False
        break
if res:
    print(str)
    print('Yes')
else:
    print(str)
    print('No')
