n=input() c=len(n)-1 s=int((int(n[0:3])+5)/10)/10 if s>=10: s=1 c=c+1 print('%.1f*10^%d'%(s,c))