N = int(input()) c = round(N, -1 * (len(str(N)) - 2)) print('{0}*10^{1}'.format(round(c, 1) / (10 ** (len(str(c)) - 1)), len(str(c)) - 1))