#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
char s[500];
int main() {
  scanf("%s", s + 1);
  int len = strlen(s + 1), t = 0, pos = -1;
  bool f = 0, ok = 0;
  for (int i = 1; i <= len; i++) {
    if (f) t = t * 10 + s[i] - '0';
    if (s[i] == 'e') f = 1;
  }
  f = 0;
  for (int i = 1; i <= len; i++) {
    if (s[i] == 'e')
      break;
    else if (s[i] == '.') {
      if (t == 0) {
        pos = i - 1;
        break;
      }
      f = 1;
    } else if (f) {
      if (t) t--;
      if (!t) {
        pos = i;
        break;
      }
    }
  }
  f = 0;
  for (int i = 1; i <= len; i++) {
    if (s[i] == 'e') break;
    if (s[i] == '0' && !f && i != pos)
      continue;
    else if (i == pos) {
      for (int j = i + 1; j <= len; j++)
        if (s[j] == 'e')
          break;
        else if (s[j] != '0' && s[j] != '.') {
          ok = 1;
          break;
        }
      if (ok)
        cout << s[i] << ".";
      else
        cout << s[i];
      f = 1;
      if (!ok) break;
    } else {
      if (s[i] == '.') continue;
      cout << s[i];
      f = 1;
    }
  }
  while (t--) cout << 0;
}
