#include <bits/stdc++.h>
using namespace std;
int main() {
  stringstream ss;
  int a, b;
  char d[150];
  scanf("%d.", &a);
  cin.getline(d, 150, 'e');
  scanf("%d", &b);
  ss << a;
  int l = strlen(d);
  if (l <= b) {
    ss << d;
    for (int i = 0; i < b - l; i++) ss << 0;
  } else {
    for (int i = 0; i < b; i++) ss << d[i];
    ss << '.' << d + b;
  }
  ss >> d;
  int ll = 0;
  int rr = strlen(d) - 1;
  l = rr + 1;
  while (ll < l && d[ll] == '0') ll++;
  while (rr >= 0 && d[rr] == '0') rr--;
  if (ll == rr) {
    if (d[ll] == '.')
      printf("0\n");
    else
      printf("%s\n", d + ll);
  } else if (ll > rr)
    printf("0\n");
  else if (d[ll] == '.') {
    d[rr + 1] = '\0';
    cout << d + ll - 1 << endl;
  } else if (d[rr] == '.') {
    d[rr] = '\0';
    cout << d + ll << endl;
  } else {
    bool dian = false;
    for (int i = 0; i < l; i++)
      if (d[i] == '.') {
        dian = true;
        break;
      }
    if (dian) d[rr + 1] = '\0';
    cout << d + ll << endl;
  }
  return 0;
}
