#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int a = s.find(".");
  int b = s.find("e");
  int exp = stoi(s.substr(b + 1));
  s = s.substr(0, b);
  for (int i = 0; i < exp; i++) {
    char tmp = s[a + i];
    if (a + i + 1 == s.size()) {
      s += "0";
    }
    s[a + i] = s[a + i + 1];
    s[a + i + 1] = tmp;
  }
  while (s != "" && s[s.size() - 1] == '0') s = s.substr(0, s.size() - 1);
  if (s[s.size() - 1] == '.') s = s.substr(0, s.size() - 1);
  while (s != "" && s[0] == '0') s = s.substr(1);
  if (s.size() == 0 || s[0] == '.') s = "0" + s;
  cout << s << endl;
}
