You have been given a String S. You need to find and print whether this string is a palindrome or not. If yes, print "YES" (without quotes), else print "NO" (without quotes). 

Input Format
The first and only line of input contains the String S. The String shall consist of lowercase English alphabets only.

Output Format
Print the required answer on a single line.  

Constraints
 1 ≤ |S| ≤ 100   

Note
String S consists of lowercase English Alphabets only.   

SAMPLE INPUT
aba

SAMPLE OUTPUT
YES

Difficulty: EASY

Solutions:
a = input()
b ="".join(reversed(a))
if a == b:
	print("YES")
else:
	print("NO")
	
	


a=input("")
b=reversed(a)
if list(a) == list(b):
	print("YES")
else:
	print("NO")


a=input("")
b=reversed(a)
if list(a) == list(b):
	print("YES")
else:
	print("NO")


a=input()
b=''.join(reversed(a))
if a == b:
	print(" YES")
else:
	print("NO")


str1=input()
str2=reversed(str1)
if list(str1) == list(str2):
	print("YES")
else:
	print("NO")


n=input('')
def palindrome(n):
	index=0
	check=True
	while index<len(n):
		if n[index]==n[-1-index]:
			index+=1
			return True
		return False
if palindrome(n)==True:
	print("YES")
else:
	print("NO")


a=input()
b=a[::-1]
if(a==b):
	print("YES")
else:
	print("NO")


'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
n=input()
def palindrome(n):
	return (n == n[::-1])
if palindrome(n)==True:
	print("YES")
else:
	print("NO")


'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
string  = input()
s1 = string.lower()
s2 = s1[::-1]
if s1 == s2:
	print("YES")
else:
	print("NO")



def palindrome(word):
	word_rev = reversed(word)
	if list(word) == list(word_rev):
		print('YES')
	else:
		print('NO')

palindrome(input())


a=input(" ")
b="".join(reversed(a))
if a == b :
	print("YES")
else:
	print("NO")


string = input()

if string == string[::-1]:
	print('YES')
else:
	print('NO')


'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''

inputString = input()
s1 = inputString.lower()
s2 = s1[::-1]
if s1 == s2 :
	print("YES")
else:
	print("NO")



'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''

inputString = input()
s1 = inputString.lower()
s2 = s1[::-1]
if s1 == s2 :
	print("YES")
else:
	print("NO")



# Read input from stdin and provide input before running code

name = str(input(''))
#print '%s.' % name
reverse = name[::-1]
if name==reverse:
	print('YES')
else:
	print('NO')


cadena=input()
j=len(cadena)-1
for i in range(len(cadena)):
	if cadena[i] != cadena[j]:
		bandera=0
	else:
		bandera=1
	j=j-1

if bandera==1:
	print("YES")
else:
	print("NO")



a=input()
b=reversed(a)
if list(a)==list(b):
	print("YES")
else:
	print("NO")


a=input()

b="".join(reversed(a))
if a == b:
	print("YES")
else :
	print(" NO ")


t=input("")
def palindromic(x):
	if (x.lower() and len(x)>=1 and len(x)<=100):
		rev=''.join(reversed(x))
		if (x==rev):
			print('YES')
		else:
			print('NO')


palindromic(t)



import sys


s = sys.stdin.readlines()[0].strip()

if s == s[::-1]:
	print("YES")
else:
	print("NO")


import string
s=input()
t=s[::-1]
if s==t:
	print("YES")
else:
	print("NO")



'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
sequence = input()


def test_palindrome(s):
	if sequence == sequence[::-1]:
		print("YES")
	else:
		print("NO")

test_palindrome(sequence)
	


'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
s = input()
lis = list(s)
if lis == list(reversed(lis)):
	print("YES")
else:
	print("NO")


name=input()
revname=reversed(name)
if list(name)==list(revname):
	print("YES")
else:
	print("NO")



str0=input()
if ( str0 == str0[::-1]):
	print('YES')
else:
	print('NO')