#include using namespace std; typedef long long int ll; typedef unsigned long long ull; mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count()); ll myRand(ll B) { return (ull)rng() % B; } int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); string s; cin >> s; int n=s.size(); n--; int a=s[0]-'0',b=s[1]-'0',c=s[2]-'0'; if(c>=5){ b++; if(b==10){ a++; b=0; if(a==10){ a=1,b=0; n++; } } } printf("%d.%d*10^%d\n",a,b,n); }