N=input() x,y,z=map(int,N[:3]) p=len(N) if z>=5: y+=1 if y==10: y=0 x+=1 if x==10: x=1 p+=1 print("{}.{}*10^{}".format(x,y,p-1))