N = input().strip()
c = len(N)-1
if int(N[2])<5:
    a = N[0]
    b = N[1]
else:
    if N[1]!="9":
        b = str(int(N[1])+1)
        a = N[0]
    else:
        if N[0]!="9":
            a = str(int(N[0])+1)
            b = "0"
        else:
            a = "1"
            b = "0"
            c += 1
print(a+"."+b+"*10^"+str(c))