func_code_string: #include <bits/stdc++.h>   using namespace std;   string s;   int num_e = 1e9 + 10, num_m, ans, w, q;   string answer;   void read_input() { cin >> s; }   void solve() {     for (int i = 0; i < s.size(); i++) {       if (s[i] ==  e ) num_e = i;       if (s[i] ==  . ) num_m = i;     }     string s2 =   ;     for (int i = 0; i < num_e; i++)       if (s[i] !=  . ) s2 += s[i];     for (int i = num_e + 1; i < s.size(); i++) {       int q = s[i] -  0 ;       w = w * 10 + q;     }     w -= (num_e - num_m - 1);     if (w >= 0) {       answer += s2;       for (int i = 0; i < w; i++) answer +=  0 ;     } else {       for (int i = 0; i < s2.size(); i++) {         if (s2.size() - i == -w) answer +=  . ;         answer += s2[i];       }     }   }   void write_output() {     bool check = false;     for (int i = 0; i < answer.size(); i++)       if (answer[i] !=  .  && answer[i] !=  0 ) check = true;     if (!check)       cout << 0;     else {       int start;       for (int i = 0; i < answer.size(); i++) {         if (answer[i] ==  . ) {           start = i - 1;           break;         }         if (answer[i] !=  0 ) {           start = i;           break;         }       }       int num_m = -1;       for (int i = 0; i < answer.size(); i++)         if (answer[i] ==  . ) num_m = i;       check = false;       for (int i = num_m + 1; i < answer.size(); i++)         if (answer[i] !=  0 ) check = true;       if (check || num_m == -1)         for (int i = start; i < answer.size(); i++) cout << answer[i];       else         for (int i = start; i < num_m; i++) cout << answer[i];     }   }   int main() {     ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);     read_input(), solve(), write_output();   }   