N = input() sisuu = len(N) - 1 a_b = int(N[0:2]) if int(N[2]) >= 5: a_b += 1 a_b = str(a_b) if len(a_b) > 2: sisuu += 1 print(a_b[0] + "." + a_b[1] + "*10^" + str(sisuu))