#include <bits/stdc++.h>
using namespace std;
struct _ {
  _() { cin.sync_with_stdio(0), cin.tie(0); }
} _;
signed main() {
  string x, res;
  cin >> x;
  long long exp = atoi(x.substr(x.find('e') + 1).c_str());
  while (x.back() != 'e') x.pop_back();
  x.pop_back();
  long long dec = x.find('.');
  long long adec = x.length() - dec - 1;
  if (adec > exp) {
    for (auto i : x) {
      if (res.length() == dec + exp) res.push_back('.');
      if (isdigit(i)) res.push_back(i);
    }
  } else {
    for (auto i : x)
      if (isdigit(i)) res.push_back(i);
    long long xtra = exp - adec;
    while (xtra--) res.push_back('0');
  }
  if (res.find('.') != string::npos) {
    while (res.back() == '0') res.pop_back();
    while (res[0] == '0' and res[1] != '.') res.erase(0, 1);
  } else
    while (res[0] == '0') res.erase(0, 1);
  if (res.back() == '.') res.pop_back();
  cout << res;
}
