import java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class Main implements Runnable { public static void main(String[] args) { new Main().run(); } long MOD = (long) (1e9 + 7); public void run() { Scanner sc = new Scanner(System.in); String S = sc.next(); int a = val(S.charAt(0)); int b = val(S.charAt(1)); int c = val(S.charAt(2)); int n = (a * 100 + b * 10 + c + 5) / 10; a = n / 10; b = n % 10; int p = S.length() - 1; if (a >= 10) { ++p; b = a % 10; a = a / 10; } System.out.println(a + "." + b + "*10^" + p); } int val(char c) { return c - '0'; } static void tr(Object... objects) { System.out.println(Arrays.deepToString(objects)); } }