# a,s,d= map(int,input().split())
# if s<a<d or d<a<s:
# print(a)
# elif a<s<d or d<s<a:
# print(s)
# elif s<d<a or a<d<s:
# print(d)
# elif s==a==d:
# print(a)
# elif s==a>d or s==a<d:
# print(a)
# elif a==d>s or a==d<s:
# print(a)
# elif s==d>a or s==d<a:
# print(s)
# a, s= map(int, input().split())
# # if s==1 or s==2:
# # print(2012-((a//10000)+1900)+1)
# # elif s==3 or s==4:
# # print(2012-((a//10000)+2000)+1)
# a=int(input())
# s=(2013-a)//100
# if s==19:
# print(113-a, 1)
# elif s==20:
# print(13-a, 3)
# a,s,d=map(int,input().split())
# if d>=10:
# print(a,s,d,sep='')
# elif d<10:
# print(a,s,0,d,sep='')
# a,s,d=map(int,input().split())
# if s<10:
# if d<100:
# if d>=10:
# print(a,0,s,0,d,sep='')
# elif d<10:
# print(a,0,s,0,0,d,sep='')
# elif d>=100:
# print(a,0,s,d,sep='')
# elif s>=10:
# if d<100:
# if d>=10:
# print(a,s,0,d,sep='')
# elif d<10:
# print(a,s,0,0,d,sep='')
# elif d>=100:
# print(a,s,d,sep='')
# a,s,d=map(int,input().split())
# if a<s<d or a==s<d or s==d>a:
# print(a,s,d)
# elif d<s<a:
# print(d,s,a)
# elif s<a<d or a==d>s:
# print(s,a,d)
# elif d<a<s or a==s>d:
# print(d,a,s)
# elif a<d<s or a==d<s:
# print(a,d,s)
# elif s<d<a or s==d<a:
# print(s,d,a)
# else:
# print(a,s,d)
# def sort(x, y): #고수
# if x > y:
# return y, x
# else:
# return x, y
#
# a, b, c = map(int, input().split())
#
# a, b = sort(a, b)
# b, c = sort(b, c)
# a, b = sort(a, b)
#
# print(a, b, c)
# a,s= map(int, input().split())
# if a==0:
# if s>=30:
# print(a,s-30)
# elif s<30:
# print(23, s+30)
# elif a>0:
# if s>=30:
# print(a,s-30)
# elif s<30:
# print(a-1,s+30)
# a= int(input())
# s=a//10
# d=a-10*s
# f=(10*d+s)*2
# if f<=50:
# print(format(f,".0f"), 'GOOD')
# elif f>50:
# if f<=100:
# print(format(f,".0f"), 'OH MY GOD')
# elif f>100:
# if f-100<=50:
# print(format(f-100,".0f"), 'GOOD')
# elif f-100>50:
# print(format(f-100,".0f"), 'OH MY GOD')
# a= int(input())
# if a>0:
# print("양수")
# elif a<0:
# print("음수")
# else:
# print("0")
# a=int(input())
# if a>=90:
# print('A')
# else:
# if a>=80:
# print('B')
# else:
# if a>=70:
# print('C')
# else:
# if a>=60:
# print('D')
# else:
# print('F')
# a = int(input())
# if a<=10:
# print("정상")
# else:
# if a<=20:
# print("과체중")
# else:
# print("비만")
# a=int(input())
# if a%10==1:
# if a==11:
# print(a,'th',sep='')
# else:
# print(a,'st',sep='')
# elif a%10==2:
# if a==12:
# print(a,'th',sep='')
# else:
# print(a,'nd',sep='')
# elif a%10==3:
# if a==13:
# print(a,'th',sep='')
# else:
# print(a,'rd',sep='')
# else:
# print(a,'th',sep='')
# a,s=map(int, input().split())
# if s%a==0:
# d=s/a
# print(a,'*',format(d,".0f"),'=',s,sep='')
# elif a%s==0:
# f=a/s
# print(s,'*',format(f,".0f"),'=',a,sep='')
# else:
# print('none')
# a,s,d,f= map(int, input().split())
# # if a+s+d+f==0:
# # print('모')
# # elif a+s+d+f==1:
# # print('도')
# # elif a+s+d+f==2:
# # print('개')
# # elif a+s+d+f==3:
# # print('걸')
# # else:
# # print('윷')