#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, x, y, z, expo = 0, e;
  string s;
  cin >> s;
  n = s.length();
  bool on = 0, p = 0, d = 0;
  for (int i = n - 1, j = 1;; i--, j *= 10) {
    if (s[i] == 'e') {
      e = i;
      p = 1;
    } else if (p) {
      if (s[i] == '.') break;
      x = s[i] - '0';
      if (x != 0)
        break;
      else
        s[i] = '#';
    } else {
      x = s[i] - '0';
      expo += x * j;
    }
  }
  for (int i = 0;; i++) {
    if (s[i] == '#') continue;
    if (s[i] == 'e') break;
    if (on) expo--;
    if (s[i] == '.') on = 1;
  }
  if (expo < 0) {
    for (int i = 0; i < e + expo; i++) {
      if (s[i] == '#') continue;
      if (s[i] != '.') cout << s[i];
    }
    cout << ".";
    for (int i = e + expo; i < e; i++) {
      if (s[i] == '#') continue;
      cout << s[i];
    }
  } else {
    for (int i = 0;; i++) {
      if (s[i] == '#') continue;
      if (s[i] == 'e') break;
      if (s[i] == '.')
        continue;
      else
        cout << s[i];
    }
    for (int i = 0; i < expo; i++) cout << 0;
  }
}
