n = int(input()) t = 10 ** n a = t // 7 print('0.'+str(a))