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