n = input() c = len(n) - 1 x = str(int(n[:3]) + 5) if len(x) == 4: c += 1 print(x[0] + '.' + x[1] + '*10^'+ str(c))