const rl = require("readline").createInterface({ input: process.stdin }); var iter = rl[Symbol.asyncIterator](); const readline = async () => (await iter.next()).value; void (async function () { // Write your code here while ((line = await readline())) { if (line.length === 1) { console.log(`${line}.0*10^0`); } else { const num = line.length - 1; const char1 = line[0]; const char2 = line[1]; const char3 = line[2]; if (char3 && +char3 > 4) { if (+char2 + 1 >= 10) { if (+char1 + 1 === 10) { console.log(`1.0*10^${num + 1}`); } else { console.log(`${+char1 + 1}.0*10^${num}`); } } else { console.log(`${char1}.${+char2 + 1}*10^${num}`); } } else { console.log(`${char1}.${char2}*10^${num}`); } } } })();