#include #include #include #include using namespace std; int main(){ string N; cin >> N; int N_decimal_round = (stoi(N.substr(0, 3)) * 2 / 10 + 1) / 2; cout << N_decimal_round << endl; if(N_decimal_round == 100){ cout << "1.0*10^" << N.size() << endl; }else{ cout << N_decimal_round / 10 << "." << N_decimal_round % 10 << "*10^" << N.size() - 1 << endl; } }