#include #include #include #include #include #include using ll = long long; #define MOD 1000000007 using namespace std; int main(){ string S; int n; cin >> S; n = (S[0]-'0')*100+(S[1]-'0')*10+(S[2]-'0'); n = (n + 5) / 10; if (n/100 == 0) { cout << n / 10 << "." << n % 10 << "*10^" << (int)S.length() - 1 << endl; } else { cout << n / 100 << "." << (n - n / 100 * 100) / 10 << "*10^" << (int)S.length() << endl; } return 0; }