N=input() num=int(N) digit=len(N)-1 void=round(num/pow(10,digit),1) if void==10: void=void/10 digit=digit+1 print("{0}*10^{1}".format(void,digit))