Problem:


Score : 100 points

Problem Statement

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 1

575

Sample Output 1

Yes

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

Sample Input 2

123

Sample Output 2

No

N=123 becomes 321 when read backward, so it is not a palindromic number. You should print No.

Sample Input 3

812

Sample Output 3

No



Sample input:
575


Sample output:
Yes

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N=input()
print("Yes" if N == "".join(reversed(N)) else "No")

Submission status: Accepted

Solution code:
n=str(input())
print("YNeos"[n[0]!=n[2]::2])

Submission status: Accepted

Solution code:
#https://atcoder.jp/contests/abc070/tasks/abc070_a
N = input()
if N[0] == N[-1]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import sys


def input():
    return sys.stdin.readline()[:-1]

# N = int(input())
# A = [int(x) for x in input().split()]
# a, b, c = map(int, input().split())
# name1 = str(input())
# alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num_str = input()
print("Yes" if num_str[0]==num_str[2] else "No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = input()
if num == num[::-1]:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
a=input();print(["No","Yes"][a[0]==a[2]])

Submission status: Accepted

Solution code:
n=input()
b=True
for i in range(len(n)//2):
  if n[i]!=n[-1-i]:
    b=False
if b:
  print("Yes")
  
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input();print('YNeos'[s!=s[::-1]::2])

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

print("Yes" if (N // 100 == N % 10) else "No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = list(input())
n_reversed = list(reversed(n))
print('Yes' if n == n_reversed else 'No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:


def read_input():
    n = int(input())

    return n

def submit():
    n = read_input()

    if n // 100 == n % 10:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    submit()

Submission status: Accepted

Solution code:
N = input()
for i in range(len(N)//2):
    if N[i] != N[len(N)-1-i]:
        print('No')
        exit()
print('Yes')

Submission status: Accepted

Solution code:
n=int(input())

h=n // 100

t=(n-h*100) // 10

o=(n-h*100-t*10)

if h==o:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
s  = input()

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

Submission status: Accepted

Solution code:
N = input()
if N[0] != N[len(N)-1]:
    print('No')
    quit()
else:
    print('Yes')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(input())

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

Submission status: Accepted

Solution code:
from functools import reduce
import math

def main():
    # 文字列の2進数を数値にする
    # '101' → '5'
    # 文字列の頭に'0b'をつけてint()にわたす
    # binary = int('0b'+'101',0)

    # 2進数で立っているbitを数える
    # 101(0x5) → 2
    # cnt_bit = bin(5).count('1')
    
    # N! を求める
    # f = math.factorial(N)

    # N の逆元
    # N_inv = pow(N,MOD-2,MOD)

    # nCr
    # Nの階乗 * rの階乗の逆元 * n-rの階乗の逆元
    
    # 切り捨て
    # 4 // 3
    # 切り上げ
    #-(-4 // 3)
    
    # 初期値用:十分大きい数(100億)
    INF = float("inf")

    # 大きな素数
    MOD = 10**9+7
    
    # 1文字のみを読み込み
    # 入力:2
    a = input().rstrip()
    # 変数:a='2'
    
    # スペース区切りで標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a, b, c, d = (int(_) for _ in input().split())  
    # 変数:a=2 b=4 c=5 d =7
    
    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a = list(int(_) for _ in input().split())
    # 変数:a = [2, 4, 5, 7]    

    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2457
    # a = list(int(_) for _ in input())
    # 変数:a = [2, 4, 5, 7]    
    if a == a[::-1]:
        print('Yes')
    else:
        print('No')
    
if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

n = input()

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

Submission status: Accepted

Solution code:
n = list(map(int, input()))
print("Yes" if n[0]==n[2] else "No")

Submission status: Accepted

Solution code:
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


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

Submission status: Accepted

Solution code:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import math

N = str(input())


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

Submission status: Accepted

Solution code:
N = list(input())
flag = True
for i in range(len(N)):
    if N[i] == N[len(N)-1-i]:
        pass
    else:
        flag = False
        break
if flag:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()
print("Yes" if a[2]==a[0] else "No")

Submission status: Accepted

Solution code:
N = input()
Nr = N[::-1]

if N==Nr:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Submission status: Accepted

Solution code:
n = int(input())
if n // 100 == n % 10:
  ans = 'Yes'
else:
  ans = 'No'
print(ans)

Submission status: Accepted

Solution code:
n = list(map(str, input()))
if n[0] == n[2]:
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
s = input()
if s==s[::-1]:
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
n=input()
print(["No","Yes"][n==n[::-1]])

Submission status: Accepted

Solution code:
number = input()
if number[0] == number[2]:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
N = list(input())
a = ''.join(N)
N.reverse()
b = ''.join(N)
if a == b :
    print('Yes')
else :
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
print('NYoe s'[s[0]==s[2]::2])

Submission status: Accepted

Solution code:
n=input()
ans='No'
if n[0]==n[2]:
  ans='Yes'
print(ans)

Submission status: Accepted

Solution code:
N=input()

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

Submission status: Accepted

Solution code:
print("YNeos"[len(set(input()[0:3:2]))-1::2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()
print(["Yes", "No"][not(N[0] == N[2])])

Submission status: Accepted

Solution code:
a, b, c=input()
if a==c:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

N1 = N[2]+N[1]+N[0]
if N == N1:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
x = input()
rev = x[::-1]
if x == rev:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
a=input();print('YNeos'[a[0]!=a[2]::2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=[]
a=list(map(int,input()))
if a[0]==a[2]:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

n = int(input())

def digit_list(num):
    num = str(num)
    num = list(num)
    num = list(map(int,num))
    return num

n = digit_list(n)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

def main():
    input = sys.stdin.readline
    N = int(input())
    a = N // 100
    b = N % 10

    if a == b:
        return 'Yes'
    else:
        return 'No'


if __name__ == '__main__':
    print(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

Solution code:
#A 068
N = str(input())
if N[::-1] ==N:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
n = list(input())
print('Yes' if n == list(reversed(n)) else 'No')

Submission status: Accepted

Solution code:
s=input()
print('Yes' if s == s[::-1] else 'No')

Submission status: Accepted

Solution code:
import math
import functools
import itertools
import numpy as np
import sys
MAX_INT = int(10e10)
MIN_INT = -MAX_INT
mod = 1000000007
sys.setrecursionlimit(1000000)
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

N = S()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def palindromic_number(N: int) -> bool:
    n1, n100 = N % 10, N//100
    return n1 == n100


if __name__ == "__main__":
    N = int(input())
    yes = palindromic_number(N)
    print('Yes' if yes else 'No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#Palindromic Number
a,b,c = input()
if(a == c):
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=str(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

n = input()

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

Submission status: Accepted

Solution code:
import math
def p(d): print(d)
def i(): return input()

def LI():  # Line Integer
    # 1行 1つの数字
    return int(input())
def LIS():  # Line IntegerS
    # 1行 mつの数字
    return [int(x) for x in input().split()]
def MLIS(n):  # Multi Line IntegerS
    # n行 mつの数字
    return [[int(x) for x in input().split()] for y in range(n)]
def LC():  # Line Character
    # 1行 1つの文字
    return input()
def LCS(): # Line CharacterS
    # 1行 nつの文字
    return [x for x in input().split()]
def MLCS(n): # Multi Line CharacterS
    # n行 mつの数字
    return [[x for x in input().split()] for y in range(n)]

def alp2int(alphabet):
    # アルファベットの番号を返す
    return ord(alphabet) - ord('a')
def int2alp(num):
    # 番号からアルファベットを返す
    return chr(num + ord('a'))
def cnt2dic(lst, dic={}):
    # 同じものをカウントして辞書型にする
    for x in lst:
        key = str(x)
        if key in dic:
            dic[key] += 1
        else:
            dic[key] = 1
    return dic
def dic2lst(dic, key=lambda x:x[1]):
    # 辞書をタプルの配列にする
    return sorted(list(dic.items()), key=key);

def A():
    a = LC()
    if a[0] == a[2]:
        print('Yes')
    else:
        print('No')

def B():
    pass

def C():
    pass

def D():
    pass

def E():
    pass

def F():
    pass

def G():
    pass

def H():
    pass

A()

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007

#A
def A():
    n = S()
    n1 = n[::-1]
    for i in range(len(n)):
        if n1[i] != n[i]:
            print("No")
            return
    print("Yes")
    return

#B
def B():
    return

#C
def C():
    return

#D
def D():
    return

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == '__main__':
    A()

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007

#A
n = S()
if n == n[::-1]:
    print("Yes")
else:
    print("No")
#B

#C
"""
def gcd(a,b):
    if a == 0:
        return b
    return gcd(b%a,a)
n = I()
a = IR(n)
l = a[0]
for i in range(1,n):
    g = gcd(l,a[i])
    l *= a[i]//g
print(l)
"""

#D
"""
n = I()
v = [[] for i in range(n)]
for i in range(n-1):
    a,b,c = LI()
    a -= 1
    b -= 1
    v[a].append([b,c])
    v[b].append([a,c])
Q,k = LI()
d = [-1 for i in range(n)]
d[k-1] = 0
q = deque()
q.append(k-1)
while q:
    x = q.pop()
    for y,c in v[x]:
        if d[y] == -1:
            d[y] = d[x]+c
            q.append(y)
for i in range(Q):
    x,y = LI()
    x -= 1
    y -= 1
    print(d[x]+d[y])
"""


#E

#F

#G

#H

#I

#J

#K

#L

#M

#N

#O

#P

#Q

#R

#S

#T

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
N = [i for i in input()]
check = True
if N[0] == N[-1]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()
ans=0
for i in range(len(a)):
  if not a[i]==a[len(a)-1-i]:
    ans=1
if ans==1:
  print("No")
else:
  print("Yes")

Submission status: Accepted

Solution code:
s=input()
if s == ''.join(list(reversed(s))):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
a = input()
if a[0]==a[2]:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
n = int(input())
x = list(str(n))
if x == x[::-1]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s = list(str(input()))
t = s[::-1]

if s == t:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s = input()
for i in range(len(s)):
  if s[i] != s[-1-i]:
    print("No")
    break
else:
  print("Yes")

Submission status: Accepted

Solution code:
N = input()
ans = "No"
if(N == N[::-1]):
  ans = "Yes"
print(ans)

Submission status: Accepted

Solution code:
s=input()
print("YNeos"[s[0] != s[2]::2])

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys

def main():
	num = input()
	val = list(num)
	
	if val[0] == val[2]:
		print("Yes")
	else:
		print("No")
	
if __name__ == "__main__":
	main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
l = list(stdin.readline().rstrip())
if l[0] == l[2]:
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
n = input()
N0 = list(n)
N1 = list(n)
N1.reverse()

if(N0 == N1):
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
# coding: utf-8
n = input()
print(['No', 'Yes'][n[0] == n[2]])

Submission status: Accepted

Solution code:
N=str(input())
n=int(N)
if n==(int(N[2])*100)+(int(N[1])*10)+(int(N[0])):
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()
cnt = 0
for i in range(len(n)//2):
    if n[i] == n[len(n)-1-i]:
        cnt += 1
if cnt == len(n)//2:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=list(input())
ans="Yes"
for i in range(len(n)):
    if n[i]!=n[-1-i]:
        ans="No"
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

Solution code:
n=input();print("YNeos"[(n[0]!=n[2])::2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc070/tasks/abc070_a

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
s = input()
if s == s[::-1]:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

ans = N // 100 == N % 10

print("Yes" if ans else "No")
print()

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

Solution code:
N = input()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=list(input())
s=[1 for i in range(len(n)//2) if n[i]==n[len(n)-i-1]]
print("Yes" if len(s)==len(n)//2 else "No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=int(input())
x=a%10
a=(a-x)/10
b=a%10
a=(a-b)/10
y=a%10
if x==y:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
n=input()
for i in range(len(n)//2):
    if n[i]!=n[-1-i]:
        print("No")
        exit()
print("Yes")

Submission status: Accepted

Solution code:
a=input()
if(a[0]==a[2]):
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N=int(input())
n=[]
a=N//100
b=(N-a*100)//10
c=(N-a*100-b*10)
if a==c:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

Solution code:
n=int(input())
print("Yes") if int(n/100)==n%10 else print("No")

Submission status: Accepted

Solution code:
int_n = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
if a == a[-1]+a[-2]+a[-3]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
print('Yes' if (lambda x: x[0] == x[2])(input()) else 'No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input()
print('Yes' if list(n)==list(reversed(list(n))) else 'No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ABC 070
N = input()
if N[0]==N[2]:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
a, *b, c = input()
if a == c:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
n = int(input())

print('Yes' if n//100 == n%10 else 'No')

Submission status: Accepted

Solution code:
N = input().rstrip()
if N[0] == N[-1] or N[0] == N[1] == N[2]: print('Yes')
else: print('No')

Submission status: Accepted

Solution code:
def main() :
    N = input()
    for i in range(len(N)) :
        if (N[i] != N[-1 * i - 1]) :
            print("No")
            return
    
    print("Yes")

main()

Submission status: Accepted

Solution code:
# coding: utf-8

n=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  x = input()
  if x == x[2]+x[1]+x[0]:
    print('Yes')
    return
  print('No')
  return
if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
x=input()
print(['No','Yes'][x==x[::-1]])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input()
flag=True
for i in range(len(n)):
    if n[i]!=n[len(n)-1-i]:
        flag=False
        break
if flag:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
a = list(input())

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

Submission status: Accepted

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


abc070_a()

Submission status: Accepted

Solution code:
n=input();s=n[::-1]
print(["No","Yes"][n==s])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()
print("No"if a[0]!=a[2] else "Yes")

Submission status: Accepted

Solution code:
N=input()
print(["No","Yes"][N==N[::-1]])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=str(input())

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

Submission status: Accepted

Solution code:
n = int(input())
print("Yes" if n//100==n%10 else "No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
N = str(input())
S = N[::-1]
if N == S:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


def main():
    """Function."""
    n = str(input())
    if n == n[-1]+n[-2]+n[-3]:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from statistics import mean, median,variance,stdev
import sys
import math

#a = input().split()
#y = input().split()
a = input()

#x = int(input())
#y = int(input())


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

Submission status: Accepted

Solution code:
a=[0,0,0]
b=int(input())
a[0]=(b-b%100)/100
a[1]=b-a[0]*100-b%10*10
a[2]=b%10
if(a[0]==a[2]):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
number = list(input())
if number[0] == number[-1]:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
n = input()
if n[:1] == n[2:]:
    print('Yes')
else:
    print('No')