s = input()

is_palindrome = True
for i in range(len(s)):
	if s[i] != s[-1-i]:
		is_palindrome = False
		break
	
if is_palindrome:
	print('yes')
else:
	print('no')

# method2
if s[::-1] == s:
	print('yes')
else:
	print('no')
014e520315c930ba9cfadeb4fa8677edfda4172c
<mask token>

<mask token>
for i in range(len(s)):
    if s[i] != s[-1 - i]:
        is_palindrome = False
        break
if is_palindrome:
    print('yes')
else:
    print('no')
if s[::-1] == s:
    print('yes')
else:
    print('no')

s = input()
is_palindrome = True
for i in range(len(s)):
    if s[i] != s[-1 - i]:
        is_palindrome = False
        break
if is_palindrome:
    print('yes')
else:
    print('no')
if s[::-1] == s:
    print('yes')
else:
    print('no')

s = input()

is_palindrome = True
for i in range(len(s)):
	if s[i] != s[-1-i]:
		is_palindrome = False
		break
	
if is_palindrome:
	print('yes')
else:
	print('no')

# method2
if s[::-1] == s:
	print('yes')
else:
	print('no')