# a,b=map(int,input().split())
# if b==1 or b==2:
# print(2013-(1900+a//10000))
# else:
# print(2013-(2000+a//10000))
# o=int(input())
# if 2013-o>=2000:
# print(13-o, 3)
# else:
# print(113-o, 1)
# g,r,n=map(int,input().split())
# if n<10:
# print(g,r,0,n,sep='')
# else:
# print(g,r,n,sep='')
# g,r,n=map(int,input().split())
# if r<10 and n<10:
# print(g,0,r,0,0,n,sep='')
# elif r<10 and n<100:
# print(g,0,r,0,n,sep='')
# elif n<10:
# print(g,r,0,0,n,sep='')
# elif n<100:
# print(g,r,0,n,sep='')
# elif r<10:
# print(g,0,r,n,sep='')
# else:
# print(g,r,n,sep='')
# a,b,c=map(int,input().split())
# if a>b:
# a,b=b,a
# if a>c:
# a,c=c,a
# if b>c:
# b,c=c,b
# print(a,b,c)
# h,m=map(int,input().split())
# if m<=29:
# if h==0:
# print(23,m+30)
#
# else:
# print(h-1,m+30)
# else:
# print(h,m-30)



