#yuki235 n=int(input()) res=0 for i in range(100): res+=(1/((i+1)**n)) print(res)