import math
n = int(input('Entrez un entier : '))
a = 2
while 3-a-math.log(a)>0:
    a = a+10**(-n)
print(a)