#include <bits/stdc++.h>
using namespace std;
const int N = 1e7;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  string a = "", d = "", e = "", b = "";
  string s;
  cin >> s;
  bool dot = 0;
  bool eps = 0;
  for (int i = 0; i < s.size(); i++) {
    if (s[i] == '.') {
      dot = 1;
    }
    if (dot == 0) {
      if (s[i] != '.') {
        a += s[i];
      }
    } else if (dot) {
      if (s[i] == 'e') {
        eps = 1;
      }
      if (eps == 0) {
        if (s[i] != '.') {
          d += s[i];
        }
      }
      if (eps == 1) {
        if (s[i] != 'e') {
          b += s[i];
        }
      }
    }
  }
  int num = stoi(b);
  int pre = stoi(a);
  if (pre == 0) {
    bool flag = 0;
    for (int i = 0; i < d.size(); i++) {
      if (d[i] != '0') {
        flag = 1;
        break;
      }
    }
    if (flag) {
      cout << a << "." << d << "\n";
    } else {
      cout << 0 << "\n";
    }
    return 0;
  }
  if (num == 0) {
    bool flag = 0;
    for (int i = 0; i < d.size(); i++) {
      if (d[i] != '0') {
        flag = 1;
        break;
      }
    }
    if (flag) {
      cout << a << "." << d << "\n";
    } else {
      cout << a << "\n";
    }
    return 0;
  } else {
    string temp = "";
    if (d.size() > num) {
      for (int i = 0; i < num; i++) {
        temp += d[i];
      }
      temp += '.';
      for (int i = num; i < d.size(); i++) {
        temp += d[i];
      }
      cout << a + temp << "\n";
    } else if (d.size() < num) {
      for (int i = 0; i < d.size(); i++) {
        temp += d[i];
      }
      for (int i = d.size(); i < num; i++) {
        temp += '0';
      }
      cout << a + temp << "\n";
    } else if (d.size() == num) {
      cout << a + d << "\n";
    }
  }
}
