import sys readline = sys.stdin.readline s = readline() n = len(s) - 2 num = int(s[:3]) if num == 999: a = '1.0' n += 1 else: if num % 10 >= 5: num += 10 num -= num % 10 a = str(num)[0] + '.' + str(num)[1] print(a + '*10^' + str(n))