N=int(input()) void=N digit=0 while void>9: void=void/10 digit=digit+1 print("{0}*10^{1}".format(round(void,1),digit))