ior = io.read local str = ior() local top = tonumber(str:sub(1, 3)) if(995 <= top) then print(string.format("1.0*10^%d", #str)) else top = math.floor((top + 5) / 10) local top1, top2 = math.floor(top / 10), top % 10 print(string.format("%d.%d*10^%d", top1, top2, #str - 1)) end