import math n = int(input()) cnt = 0 while n > 10: n = n/10 cnt += 1 n = round(n,1) if n == 10: cnt += 1 n = n/10 print(str(n)+'*10^'+str(cnt))