When working with numbers that are really big, it is common to use scientific notation to shorten their representation. In scientific notation, numbers are written in the form:
Where is a decimal number between and , which we will always round to two decimal places, and is an integer. For example:
We can also convert numbers out of scientific notation, rounding if needed. For example:
Given a number in either decimal notation or scientific notation, convert the number to its alternate form.
Each test case contains one number represented either in decimal or scientific notation. is guaranteed to fit in a 32-bit integer.
For each test case, output in scientific notation if is in decimal notation or output in decimal notation if it is in scientific notation.
9.87 * 10^2
1.21 * 10^3