#include #include #include #include using namespace std; int main() { string N; int a; double NumberN; cin >> N; a = N.size()-1; NumberN = int(N[0] - '0') * 10 + int(N[1] - '0'); if(int(N[2]-'0') >= 5) NumberN++; if(NumberN < 100) printf("%.1f*10^%d\n",NumberN/10,a); else printf("%.1f*10^%d\n",NumberN/100,a+1); return 0; }