s='{:.1e}'.format(int(input())) i,e=s.split("e+") print(i+"*10^"+str(int(e)))