#include <bits/stdc++.h>
using namespace std;
int main() {
  string str;
  cin >> str;
  int k = (int)str.find('.');
  string astr = str.substr(0, k);
  str = str.substr(k + 1);
  k = (int)str.find('e');
  string bstr = str.substr(0, k);
  str = str.substr(k + 1);
  int blen = bstr.length();
  int dlen = atoi(str.c_str());
  int p = dlen - blen;
  string ans = astr;
  ans = astr + bstr;
  if (p >= 0) {
    for (int i = 0; i < p; ++i) ans = ans + '0';
  } else {
    string temp = "";
    k = ans.length() - 1;
    p = abs(p);
    for (int i = p; i > 0; --i, --k) temp = ans[k] + temp;
    temp = '.' + temp;
    for (; k >= 0; --k) temp = ans[k] + temp;
    ans = "";
    ans = temp;
  }
  int i;
  for (i = 0; ans[i] == '0' && i < ans.length(); ++i)
    ;
  ans = ans.substr(i);
  if (ans.find('.') != string::npos) {
    k = (int)ans.find('.');
    i = ans.length() - 1;
    for (; ans[i] == '0' && i > k; --i)
      ;
    if (i == k) i--;
    ans = ans.substr(0, i + 1);
    if (ans == "")
      ans = "0";
    else if (ans[0] == '.')
      ans = '0' + ans;
  }
  cout << ans << endl;
  return 0;
}
