s = input() t = len(s) s = int(s) s = round(s, -(t-2)) s = str(s) t = len(s) print(s[0] + '.' + s[1] + '*10^' + str(t-1))