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