#include <bits/stdc++.h>
using namespace std;
int main() {
  string s, r, d, b;
  cin >> s;
  r = "";
  d = "";
  int i = 2;
  while (s[i] != 'e') {
    d += s[i];
    i++;
  }
  i++;
  b = "";
  while (i < s.size()) {
    b += s[i];
    i++;
  }
  int c = 0;
  if (b.size() == 3)
    c = 100;
  else if (b.size() == 2) {
    c = (b[0] - 48) * 10 + (b[1] - 48);
  } else {
    c = (b[0] - 48);
  }
  if (s[0] == '0' && c != 0) {
  } else
    r += s[0];
  for (i = 0; i < d.size() && i < c; i++) {
    r += d[i];
  }
  if (d.size() == 1 && d[0] == '0') {
    if (i < c) {
      while (i < c) {
        r += "0";
        i++;
      }
    }
  } else if (i < d.size()) {
    r += ".";
    while (i < d.size()) {
      r += d[i];
      i++;
    }
  } else if (i < c) {
    while (i < c) {
      r += "0";
      i++;
    }
  }
  cout << r << endl;
  return 0;
}
