#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a, d = 0, b;
  string str;
  bool flag = false;
  cin >> str;
  for (long long i = 0; i < str.size(); i++) {
    if (str[i] == '.') a = i;
    if (flag) {
      d = d * 10 + str[i] - '0';
    }
    if (str[i] == 'e') flag = true;
  }
  if (str[a + 1] == '0' && str[a + 2] == 'e' && d == 0)
    cout << str[0] << endl;
  else {
    flag = true;
    for (long long i = 0; i < str.size(); i++) {
      if (str[i] == 'e') break;
      if (str[i] == '.') {
        flag = false;
        continue;
      }
      if (flag) {
        cout << str[i];
        continue;
      } else {
        if (d == 0) cout << '.';
        cout << str[i];
        d--;
      }
    }
    while (d > 0) {
      cout << "0";
      d--;
    }
    cout << endl;
  }
  return 0;
}
