#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string S; cin >> S; int a = S[0] - '0', b = S[1] - '0', c = 0; while ((int)S.size() - c != 1) { c++; } if (S[2] - '0' > 4) { b++; if (b == 10) { b = 0; a++; if (a == 10) { a = 1; c++; } } } cout << a << "." << b << "*" << 10 << "^" << c << '\n'; return 0; }