#include <bits/stdc++.h>
using namespace std;
int main() {
  int flg_e = 0, flg_di = 0, exe = 0;
  string tmp, a, b, c;
  cin >> tmp;
  for (unsigned i = 0; i < tmp.size(); ++i) {
    if (tmp[i] == '.') {
      flg_di = 1;
      continue;
    }
    if (tmp[i] == 'e') {
      flg_e = 1;
      continue;
    }
    if (flg_e == 1) {
      c += tmp[i];
    } else if (flg_di == 1) {
      b += tmp[i];
    } else {
      a += tmp[i];
    }
  }
  for (auto it = c.begin(); it != c.end(); ++it) {
    exe = exe * 10 + ((*it) - '0');
  }
  if (exe == 0) {
    if (b == "0") {
      cout << a << endl;
    } else
      cout << a << '.' << b << endl;
  } else {
    if (a != "0") {
      cout << a;
    }
    if (b.size() <= exe) {
      cout << b;
      while (exe != b.size()) {
        cout << "0";
        --exe;
      }
    } else {
      for (long long i = 0; i < exe; ++i) cout << b[i];
      cout << '.';
      for (long long i = exe; i < b.size(); ++i) cout << b[i];
    }
  }
  return 0;
}
