from math import * N = int(input()) c = int(log10(N)) a = round(N / (10 ** c), 1) if a >= 10: a = round(a / 10, 1) c += 1 print("{0}*10^{1}".format(a, c))