#include using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false), cin.tie(0); string s; cin >> s; int x = s[0]-'0'; int y = s[1]-'0'; if(y > 4) x++; int z = s.size()-1; if(x == 10) x = 1, z++; cout << x << ".0*10^" << z << endl; }