# import math
# a=float(input())
# a=math.ceil(a)
# print(a)
# import math
# a=float(input())
# a=math.floor(a)
# print(a)
# import math
# a=float(input())
# a=math.fabs(a)
# print(a)
# a,b=map(int,input().split())
# c=0
# d=0
# list=[]
# for i in range(1,a+1):
# if a%i==0:
# list.append(i)
# if len(list)<b:
# print(0)
# else:
# print(list[b-1])
# list=[]
# for i in range(1,8):
# a=int(input())
# list.append(a)
# list.sort()
# print(list[6])
# print(list[5])
# import math
# a,b,c=map(int,input().split())
# n=math.gcd(a,b,c)
# print(n)
n=int(input())