#include <bits/stdc++.h>
using namespace std;
char str[1100];
char ans[1100];
char anss[1100];
void print(int idx) {
  bool z = false;
  int k = 1;
  for (int i = 0; i < idx; i++) {
    if (!z && ans[i] != '0') {
      anss[0] = ans[i];
      z = true;
    } else if (z) {
      anss[k++] = ans[i];
    }
  }
  if (!z) anss[0] = '0';
  anss[k] = 0;
  printf("%s", anss);
  k = -1;
  for (int i = idx + 1; ans[i]; i++) {
    if (ans[i] != '0') k = i;
  }
  if (k < 0) return;
  printf(".");
  for (int i = idx + 1; i <= k; i++) cout << ans[i];
  cout << endl;
}
int main() {
  int t = 1;
  for (; t--;) {
    cin >> str;
    int idx = -1;
    for (int i = 0; str[i]; i++) {
      if (str[i] == 'e') {
        idx = i;
      }
    }
    int pw = 0;
    for (int i = idx + 1; str[i]; i++) {
      pw = pw * 10 + str[i] - '0';
    }
    for (int i = 0; i < idx; i++) {
      ans[i] = str[i];
    }
    int pww = pw;
    for (int i = 2; i < idx; i++) {
      if (pw > 0) {
        swap(ans[i], ans[i - 1]);
      }
      pw--;
    }
    int len = strlen(str);
    if (pw > 0) {
      int i = idx - 1;
      for (; pw; pw--) {
        ans[i++] = '0';
      }
      ans[i] = '.';
      ans[i + 1] = str[len];
    } else
      ans[idx] = str[len];
    for (int i = 0; ans[i]; i++) {
      if (ans[i] == '.') idx = i;
    }
    print(idx);
  }
}
