#include #include using namespace std; int main() { string N; int a, numberN; cin >> N; a = N.size(); numberN = int (N[0] - '0') * 10 + int (N[1] - '0'); if (int (N[2] - '0') > 4) { numberN++; } N = to_string(numberN); if (N.size() < 3) { printf("%c.%c*10^%d",N[0],N[1],a-1); } else { printf("%c.%c*10^%d",N[0],N[1],a); } return 0; }