#pragma GCC target("avx") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include #include using namespace std; using i32 = int_fast32_t; using i64 = int_fast64_t; #define rep(i, n) for (i32 i = 0; i < (i32)(n); i++) #define all(a) (a).begin(),(a).end() #define rall(a) (a).rbegin(),(a).rend() using P = pair; int main() { ios::sync_with_stdio(false); std::cin.tie(nullptr); string s; cin >> s; i32 k = 0; rep(i, 3) { k *= 10; k += s[i] - '0'; } if (k % 10 < 5) k = (k / 10) * 10; else k = (k / 10 + 1) * 10; string K = to_string(k); i32 sz = s.size() - 1; cout << K[0] << "." << K[1] << "*10^" << sz << endl; }