n=input() i=str(int(n[:2])+(n[2]in "56789")) e=len(n)-1 if i=="100":i="10";e+=1 print(i[0]+'.'+i[1],"*10^",e,sep='')