S="".join(str(n) for n in range(1,101)) N=int(input()) p=[] d0=d1=0 for s in S[::-1]: d1,d0=divmod(int(s)*N+d1,10) p.append(str(d0)) print(str(d1)+"."+"".join(p[::-1]))