def z(x): v = 1.0 for i in range(2,1000): v += pow(1/i,x) return v n = int(input()) print(z(2*n-1) if n>1 else "INF")