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:
if __name__ == '__main__':
    str = input()
    if str[0] == str[2]:
        print("Yes")
    else:
        print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def getInput():
    separator = ' '
    ret_array = []
    while True:
        try:
            row = input().split(sep=separator)
            ret_array.append(row)
        except EOFError:
            break
    return ret_array


inp = getInput()
i = inp[0][0]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    a = input()

    for i in range(len(a)//2):
        if a[i] != a[-i-1]:
            print('No')
            return
    print('Yes')
    return


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
str1 = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def func(s):
    key = len(s)
    for i in range(len(s)):
        if s[key - i - 1] != s[i]:
            return -1
    return 0

s = raw_input()

n = func(s)

if n == 0:
    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:
a=input()
if a[:1]==a[-1]:
	print("Yes")
else:
	print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str=input()
if str[0]==str[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:


def isPal(n):
    sum = 0
    while(n>0):
        rem = n % 10
        sum = (sum * 10) + rem
        n = n//10

    return sum

n = int(input().strip())

if(n == isPal(n)):print('Yes')
else:print('No')

Submission status: Accepted

Solution code:
a = input()
b = list(a)
c = ''
while b:
    c += b.pop()

if a==c:
    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:
num = input()
if num == num[::-1]:
	print("Yes")
else:
	print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N =input('')

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

Submission status: Accepted

Solution code:
a = input()
b = a[::-1]

if a == b:
	print("Yes")
else :
	print("No")

Submission status: Accepted

Solution code:
N = input()
n=int(N)
n2=(n%10)*100
n2+=(n%100)-n%10
n2+=(n-n%100)/100
if n==n2 :
	print('Yes\n')
else:
	print('No\n')
quit()

Submission status: Accepted

Solution code:
l = list(map(int, input().split()))

if l[0]//100 == l[0]%10:
    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("Yes" if(n[0]==n[2]) else "No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:

userinput = input()

if userinput[0] == userinput[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:
S=str(input())
Sr=S[::-1]
if Sr==S:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
# coding: utf-8

n = raw_input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
N = list(input())
if ''.join(N) == ''.join(reversed(N)):
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**1
gosa = 1.0 / 10**9
mod = 10**9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()


def main():
    n = S()
    if n == n[::-1]:
        return 'Yes'


    return 'No'



print(main())

Submission status: Accepted

Solution code:
n = list(input())
r = n[::-1]

if(n==r):
    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:
#ABC070A

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def kaibun(s):
    for i in range((len(s)+1)//2):
        if s[i] != s[-(i+1)]:
            return "No"
    return "Yes"


s = input()
print(kaibun(s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

# sys.stdin = open('a1.in')


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


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


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_str()
    if n == ''.join(list(reversed(n))):
        res = 'Yes'
    else:
        res = 'No'
    print(res)


main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = input()

print ('Yes' if num[0:1]==num[2:3] else 'No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(raw_input())

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

Submission status: Accepted

Solution code:
n = input()
m = int(str(n)[::-1])
if(n == m):
  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[:1] == N[-1]:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = str(input())
start = 0
end = len(N) - 1
result = True

while start < end: 
    if N[start] == N[end]: 
        start += 1
        end -= 1
    else:
        result = False
        break

if result:
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
#Palindromic Number

N = int(input())

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

Submission status: Accepted

Solution code:
N = int(input())
n100 = int(N/100)
n1 = N - int(N/10) * 10
if n100 == n1:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
a = input()
a.split()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N=input()
a=list(N)
b=[]
n=len(a)
for i in range(n):
 b.append(0)
count=0

for i in range(n):
  b[i]=a[n-1-i]

for i in range(n):
  if(a[i]==b[i]):
    count +=1

if(count==n):
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

a()

Submission status: Accepted

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

if N == M:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
import sys

# sys.stdin = open('a1.in')


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


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


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_int()
    if str(n)[0] == str(n)[-1]:
        res = 'Yes'
    else:
        res = 'No'
    print(res)


main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

N = int(sys.stdin.readline())

firstD = N / 100
lastD = N % 10
if firstD == lastD:
	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:
s = input()
if s[-1] == s[0]:
   print("Yes")
else:
   print("No")

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    STR = input()
    if STR[0:1] == STR[2:3]:
        print('Yes')
    else:
        print('No')

Submission status: Accepted

Solution code:
s = input().strip()
if s[0] == s[-1]:
  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=input()
S=N[2]+N[1]+N[0]
if N==S:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
a = input()
i = 0
n = 1
time = len(a)
ans = "Yes"
while i < time:
    if a[i] == a[-n]:
        pass
    else:
        ans = "No"
    i += 1
    n += 1
print(ans)

Submission status: Accepted

Solution code:
s = input()
print('Yes' if all(a == b for a,b in zip(s,reversed(s))) else 'No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n =int(input())
l = [int(d) for d in str(n)]


found = False
while len(l) >1 and not found:
    st = l.pop()
    end = l.pop(0)
    if st==end:
        found = False
    else:
        found = True

if not found:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()
a=list(str(N))
b=list(str(N))

a.reverse()
#print a
#print b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()
rev = ''.join(list(reversed(n)))
res = 'Yes' if int(n) == int(rev) else 'No'
print(res)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
lens = len(s)

for i in range(int(lens/2)):
    if s[i] != s[lens-1]:
        print("No")
        exit()
print("Yes")

Submission status: Accepted

Solution code:
def Q1(x):
    value_reverse = int(str(x)[::-1])
    if x == value_reverse:
        return 'Yes'
    else:
        return 'No'
      
x=int(input())
print(Q1(x))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = str(int(input()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N=input()
N1=N/100
N2=N/10-N1*10
N3=N-N1*100-N2*10

if N1==N3:
  print "Yes"
else:
  print "No"

Submission status: Accepted

Solution code:
a = input()
b = []

for i in range(len(a)):
    b.insert(0, a[i])
    
if list(a) == b:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
#!usr/bim/python
#! -*- coding: utf-8 -*-

n = raw_input()

length = len(n)

status = 0

for i in range(length/2):
    if n[i] == n[length-1-i]:
        pass
    else:
        status = 1
        break

if status == 0:
    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:
N = int(input())
N = str(N)
if N[::-1] == N:
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
# coding: utf-8

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

Submission status: Accepted

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

n = int(input())

n = str(n)
n = list(n)

flag = 0
for i in range(len(n)//2):
    if n[i] == n[-(i+1)]:
        pass
    else:
        flag = 1

if flag == 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = (input())						# 5

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
k = int(input())
if int(k / 100) == k % 10:
	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 == n[::-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:
# coding: utf-8
def II(): return int(input())
def ILI(): return list(map(int, input().split()))


def read():
    N = input()
    return (N, )


def solve(N):
    rev = str(int("".join(reversed(N))))
    if N == rev:
        ans = "Yes"
    else:
        ans = "No"
    return ans


def main():
    params = read()
    print(solve(*params))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:


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

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    N_str = input().strip()
    if N_str == N_str[::-1]:
        print("Yes")
    else:
        print("No")

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
	n = int(input())
	a = n // 100
	b = n - (n // 10) * 10
	if a == b:
		print("Yes")
	else:
		print("No")
 
if __name__ == '__main__':
	main()

Submission status: Accepted

Solution code:
def ri(): return int(input())
def rli(): return list(map(int, input().split()))
def rls(): return list(input())
def pli(a): return "".join(list(map(str, a)))
def plis(a): return " ".join(list(map(str, a)))

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

Submission status: Accepted

Solution code:
nm = int(input())
if str(nm) == str(nm)[::-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:
n=list(input())
if n[::-1]==n:
 print("Yes")
else:
 print("No")

Submission status: Accepted

Solution code:
N = str(input())

A = N[::-1]
if N == A:
    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:
def main():
    N = input()

    if N == N[::-1]:
        ans = 'Yes'
    else:
        ans = 'No'

    print(ans)

main()

Submission status: Accepted

Solution code:

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

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[2]:print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import sys
import re
import math
import collections
import itertools
import functools

DEBUG = True
DEBUG = False

def dbg(*args):
    if DEBUG:
        print("DBG: ", file=sys.stderr, end="")
        print(*args, file=sys.stderr)



def main():
    N = int(input())
    s = str(N)
    print("Yes" if s == "".join(reversed(s)) else "No")

if __name__ == "__main__": main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input().strip()
if n[0] == n[2]:
    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:
a = input()

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

Submission status: Accepted

Solution code:
N = raw_input()

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

Submission status: Accepted

Solution code:

s=raw_input()
for i in range(len(s)/2):
    if s[i]!=s[len(s)-i-1]:
        print "No"
        exit()
print "Yes"

print

Submission status: Accepted

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

if int(N) == int(revN):
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = str(raw_input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()

if a[::-1] == a:
    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:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

s = ns().strip()
if s == s[::-1]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#ABC070A
n = input().split()
print("Yes" if (a[-1] == a[0]) else "No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A,B,C=map(int,input().split())
if A == C:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = list(int,input())
m = n.sort(reverse=True)
if n == m:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# その13
# A - Palindromic Number

N = int(input())

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

Submission status: Runtime Error

Solution code:
# その13
# A - Palindromic Number

N = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s=rr()
print('YNeos'[s[0]!=s[2]::2])

Submission status: Runtime Error

Solution code:
N = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input()
print("Yes" if a == a.reverse() else "No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = input()

#3桁なのでとても簡単

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

Submission status: Runtime Error

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

if N == N_reverse:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

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

if N = N_reverse:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, C, D = map(int, input().split())
if A > C:
    A, B, C, D = C, D, A, B
print(max(0, min(D, B)-C))

Submission status: Runtime Error

Solution code:
s=map(int, input().split())
print("Yes" if s[0]==s[-1] else "No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from math import gcd

def resolve():
	n = int(input())
	ans = int(input())
	for i in range(n-1):
		v = int(input())
		ans = ans * v // gcd(ans, v)
	print(ans)

Submission status: Runtime Error

Solution code:
a,b,c,d=list(map(int,input().split()))
print(max(max(b,d)-min(a,c),0))

Submission status: Runtime Error

Solution code:
import functools
import fractions
n = int(input())
t = [int(input()) for _ in range(n)]

def lcm(x, y):
    return (x * y) // fractions.gcd(x, y)
    
ans = functools.reduce(lcm, t)
print(ans)

Submission status: Runtime Error

Solution code:
import functools
n = int(input())
t = [int(input()) for _ in range(n)]

def lcm(x, y):
    return (x * y) // functools.gcd(x, y)
    
ans = functools.reduce(lcm, t)
print(ans)

Submission status: Runtime Error

Solution code:
a,b,c,d=map(int,input().split());print(min(b,d)-max(a,c))

Submission status: Runtime Error

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

Submission status: Runtime Error

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