from math import * s = 0 e=float(input('e=')) t = 1 i=2 while abs(t)>e: t*=5/(i*i-1) s+=t i+=1 print(s)