#include <bits/stdc++.h>
using namespace std;
int main() {
  string num, n;
  int po = 0;
  cin >> num;
  int comma = -1;
  bool b = true;
  for (int i = 0; i < num.size(); i++) {
    if (num[i] == '.')
      comma = i;
    else if (num[i] == 'e')
      b = false;
    else if (b)
      n += num[i];
    else {
      po *= 10;
      po += num[i] - '0';
    }
  }
  if (comma == -1) {
    comma = n.size();
  }
  comma += po;
  string res;
  for (int i = 0; i < n.size(); i++) {
    if (i == comma) {
      res += '.';
    }
    res += n[i];
  }
  for (int i = n.size(); i < comma; i++) res += '0';
  int beg = 0, fin = res.size();
  while (res[beg] == '0') beg++;
  bool bb = res.find('.') != string::npos;
  for (int i = res.size() - 1; i > 0 && bb; i--) {
    if (res[i] != '0') {
      if (res[i] == '.') fin--;
      break;
    }
    fin--;
  }
  if (res[beg] == '.') cout << 0;
  cout << res.substr(beg, fin - beg) << endl;
  return 0;
}
