N = raw_input() ab = int(N[0:2]) c = len(N) - 1 if int(N[2]) >=5: ab += 1 if ab >= 100: ab /= 10 c += 1 print "%1.01f*10^%d" % (ab/10.0, c)