#define _USE_MATH_DEFINES #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<string> #include<iostream> #include<iostream> #include<cctype> #include<cstdio> #include<vector> #include<stack> #include<queue> #include <algorithm> #include<math.h> #include<set> #include<map> #include <sstream> #include<iomanip> #include <ctype.h> #include <fstream> #include <cassert> using namespace std; //#include<bits/stdc++.h> int main() { string p; cin >> p; int a = (p[0] - '0') * 100 + (p[1] - '0') * 10 + p[2] - '0'; if (a % 10 >= 5) { a += 10; } if (a >= 1000) { a /= 10; p += '0'; }int b = a - a % 10; if (b >= 100) { cout << b / 100 << "." << (b % 100) / 10; } else cout << b % 10 << "." << b / 10; int t = p.size()-1; cout << "*10^" << t << endl; return 0; }