#yuki668 N=raw_input() m=round(int(N[:3]),-1)/100 if m==10.0: m=1.0 print '1.0*10^'+str(len(N)) else: print str(m)+'*10^'+str(len(N)-1)