n = eval(input(""))t = pow (1+(n/1000),365)a = pow (1-(n/1000),365)b=t/aprint("{0:.2f}, {1:.2f}, {2:.0f}".format(t,a,int(b)),end="")