You are given a three-digit positive integer N.

Determine whether N is a palindromic number.

Here, a palindromic number is an integer that reads the same backward as forward in decimal notation.

-----Constraints-----
 - 100≤N≤999
 - N is an integer.

-----Input-----
Input is given from Standard Input in the following format:  
N

-----Output-----
If N is a palindromic number, print Yes; otherwise, print No.

-----Sample Input-----
575

-----Sample Output-----
Yes

N=575 is also 575 when read backward, so it is a palindromic number. You should print Yes.

Difficulty: introductory

Starter code:

Solutions:
A,B,C=map(int,input())
if A==C:
  print('Yes')
else:
  print('No')

n = input()
print("Yes" if n[0] == n[-1] else "No")

a=input()
b=""
for i in range(1,len(a)+1):
  b+=a[-i]
if a==b:
  print("Yes")
else:
  print("No")

n = input()

if n[0] == n[2]:
    print('Yes')
else:
    print('No')


n=str(input())

if n[0]==n[2]:
    ans="Yes"
else:
    ans="No"
print(ans)

S=input()
if S==S[::-1]:
    print("Yes")
else:
    print("No")


S = input()
print("Yes") if (S[0] == S[2]) else print("No")

#ABC070A
a = input()
print("Yes" if (a[-1] == a[0]) else "No")

n = input()
if n[0] == n[-1]:
    print("Yes")
else:
    print("No")

n=input()
print('Yes') if n[0]==n[2] else print("No")



n=input()
print("Yes" if n==n[::-1] else "No")

a = input()
if a[0] == a[2]:
  print('Yes')
else:
  print('No')


n = input()
print(('Yes' if n[0]==n[-1] else 'No'))


s = input()
if s[0] == s[-1]:
  print("Yes")
else:
  print("No")


a = input()
print("Yes" if a == a[::-1] else "No")

n = input()
print("Yes" if n[0] == n[2] else "No")

n = input()
if n[0] == n[2]:
    print('Yes')
else:
    print('No')

N = input()
if N[0] == N[2]:
  print("Yes")
else:
  print("No")

n=input()
if n==n[::-1]:
    print("Yes")
else:
    print("No")

N = input()

if N[0] == N[2]:
    print('Yes')
else:
    print('No')

n = input()
m = n[::-1]
if n == m: print('Yes')
else: print('No')

n = input()
if n==n[::-1]:
    print("Yes")
else:
    print("No")

n = str(input())
print('Yes' if n == n[::-1] else 'No')

s = input()
n = len(s)//2

flg = True
for i in range(n):
    if s[i] != s[-i-1]:
        flg = False
        break

print('Yes') if flg else print('No')

s = input()
if(s == s[::-1]): print("Yes")
else: print("No")

S=input()
if S[0]==S[2]:
  print("Yes")
else:
  print("No")

moji = str(input())
if moji == moji[-1::-1]:
    print("Yes")
else:
    print("No")

s = input()
if s[0] == s[2]:
    print('Yes')
else:
    print('No')

a = list(input())


if str(a) == str(a[::-1]):
    print("Yes")
else:
    print("No")

a=int(input())
b=int(a/100)
c=int(a%10)
if b==c:
  print("Yes")
else:
  print("No")

n = input()

if n[0] == n[-1]:
    print("Yes")
else:
    print("No")


s=input();print('NYoe s'[s==s[::-1]::2])

n=input()
if n[0]==n[2]:
    print('Yes')
else:
    print('No')

S = input()
N = len(S)

for i in range(N // 2):
    if S[i] != S[-i - 1]:
        print("No")
        break
else:
    print("Yes")


n = (input())
#a, b = map(int,input().split())
#l = list(map(int,input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
if n==n[::-1]:
    print('Yes')
else:
    print('No')

n = input()
if n[0] == n[2]:
    print('Yes')
else:
    print('No')


n = input()
cnt = 0
for i in range(len(n)):
    if n[i] == n[-1-i]:
        cnt += 1
if cnt == len(n):
    print("Yes")
else:
    print("No")

s=input()
print("YNeos"[s[0]!=s[-1]::2])

a = input()
b = ''.join(list(reversed(a)))
print("Yes" if a==b else "No")

N = input()
if N[0] == N[-1]:
  print("Yes")
else:
  print("No")

print("YNeos"[(s:=input())!=s[::-1]::2])

n=input()
print("Yes" if n[0] == n[2] else "No")

#
# abc070 a
#
import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """575"""
        output = """Yes"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """123"""
        output = """No"""
        self.assertIO(input, output)

    def test_入力例_3(self):
        input = """812"""
        output = """No"""
        self.assertIO(input, output)


def resolve():
    N = input()
    if N[0] == N[-1]:
        print("Yes")
    else:
        print("No")


def __starting_point():
    # unittest.main()
    resolve()

__starting_point()

n = str(input())
if n[0] == n[2]:
    print('Yes')
else:
    print('No')

#!/usr/bin/env python3

def main():
    a, b, c = input()
    print(("Yes" if a == c else "No"))


def __starting_point():
    main()

__starting_point()

N = str(input())
if N[0] == N[2]:
    print('Yes')
else:
    print('No')

N = input()
print("Yes" if N == N[::-1] else "No")

a = input()
b = ""
for i in range(len(a)):
    b += a[len(a) - i - 1]
if a == b:
    print("Yes")
else:
    print("No")

a = input()
if a == a[::-1]:
  print('Yes')
else:
  print('No')

N=input()
print("Yes" if N[0]==N[2]
      else"No")

n=input()
if n[0]==n[2]:print('Yes')
else:print('No')

L=list(input())
if L[0]==L[2]:
	print('Yes')
else:
	print('No')

n = input()
print(('Yes' if n[0]==n[2] else 'No'))


a,b,c=list(input())
if a==c:
  print('Yes')
else:
  print('No')


A,B,C=input()
if int(A)==int(C):
  print('Yes')
else:
  print('No')

N=input()

S=N[::-1]
ans=0
for i in range(len(N)):
    if N[i]==S[i]:
        ans+=1

if ans==len(N):
    print("Yes")
else:
    print("No")


N=input()
if N[0]==N[2] :
  print("Yes")
else :
  print("No")

a,b,c=input()

if a == c:
  print('Yes')
else:
  print('No')

s = input()

print('Yes' if s[0] == s[2] else 'No')

n = input()
if n == n[::-1]:
   print('Yes')
else:
   print('No')

N=input()
if N[0]==N[-1]:
  print("Yes")
else:
  print("No")


LI = lambda: list(map(int, input().split()))

N = input()


def main():
    if N[0] == N[2]:
        ans = "Yes"
    else:
        ans = "No"
    print(ans)


def __starting_point():
    main()

__starting_point()

N = input()

if N[0] == N[2]:
    print('Yes')
else:
    print('No')


n = str(input())
if n[0] == n[2]:
    print("Yes")
else:
    print("No")

n=input()
if n[0]==n[2]:
    print("Yes")
else:
    print("No")


N = input()
print('Yes' if N[0] == N[2] else 'No')

n=input()
print("Yes" if n==n[::-1] else"No")

N=str(input())
ans="Yes"
for i in range(len(N)//2):
    if N[i]!=N[len(N)-i-1]:
        ans="No"
        break
print(ans)

n = input()
print("Yes" if n[0]==n[-1] else "No")

N = input()
if N[0] == N[2]:
    print('Yes')
else:
    print('No')


N = int(input())
if N//100==N%10:
    print('Yes')
else:
    print('No')

N = input()

print("Yes" if N[0] == N[-1] else "No")

N = int(input())
if str(N) == str(N)[::-1]:
  print('Yes')
else:
  print('No')

s = input()
print('Yes' if s[0] == s[2] else 'No')

s = input()
if s[0] == s[2]:
  print("Yes")
else:
  print("No")

n = int(input())

x = n//100 + n//10%10*10 + n%10*100

print('Yes' if x == n else 'No')

s = input()
if s[0] == s[2]:
  print('Yes')
else:
  print('No')


n=input()
if n==n[::-1]:
    print("Yes")
else:
    print("No")


n = list(input())
if n[0] ==n[2]:
    print("Yes")
else:
    print("No")

N = input()
print('Yes' if N[0] == N[2] else 'No')

n = input()
if n[0] == n[2]:
  print("Yes")
else:
  print("No")

N = input()

print("Yes" if N[0] == N[2] else "No")

n = list(input())
m = list(reversed(n))
if n == m:
    print("Yes")
else:
    print("No")


def main():
    s = input()
    print(('Yes' if s[0] == s[-1] else 'No'))


def __starting_point():
    main()

__starting_point()

n=input()
t=list(n)
s=list(reversed(n))
if s==t:
    print("Yes")
else:
    print("No")



url = "https://atcoder.jp//contests/abc070/tasks/abc070_a"

def main():
    x = input()
    if x == ''.join(reversed(x)):
        print('Yes')
    else:
        print('No')


def __starting_point():
    main()

__starting_point()

n = input()

if n == n[-1::-1]:
    print('Yes')
else:
    print('No')

n=input()
if n[0]==n[2]:
  print("Yes")
else:
  print("No")

N=input()
print("Yes" if N[::-1]==N
      else"No")

n = input()
print('Yes' if n[0] == n[2] else 'No')

n=input()
print("Yes" if n[0]==n[-1] else "No")

#ABC070
#文字列の逆順
n = input()
print("Yes" if n==n[::-1] else "No")

n = input()
if n[0] == n[2]:
	print('Yes')
else:
	print('No')

x = input()
if x[0]==x[2]:
  print("Yes")
else:
  print("No")

s = input()
print(("Yes" if s==s[::-1]  else "No"))


N = input()

if N == N[::-1]:
  print("Yes")
else:
  print("No")

num_str = input()

if num_str[0] == num_str[2]:
    print('Yes')
else:
    print('No')


S = input()
print('Yes' if S[::-1] == S else 'No')

n = input()
print("Yes" if str(n) == str(n)[::-1] else "No")

N = input()

if N[0] == N[2]:
  print('Yes')
else:
  print('No')