#include <bits/stdc++.h>
using namespace std;
string JJ, II, DD, FF, BB, PP;
bool ex = false;
int x;
int main() {
  cin >> JJ;
  for (int i = 0; i < JJ.size(); i++) {
    if (JJ[i] == 'e') {
      ex = true;
      continue;
    }
    if (!ex) DD += JJ[i];
    if (ex) FF += JJ[i];
  }
  x = atoi(FF.c_str());
  bool exx = false;
  if (DD[0] == '0') exx = true;
  II = DD[0];
  int v = DD.size(), UU = min(x + 2, v), diff;
  if (x + 2 > v) diff = ((x + 2) - v);
  for (int i = 2; i < UU; i++) {
    if (exx && DD[i] != '0') {
      exx = false;
      II[0] = DD[i];
    } else if (!exx)
      II += DD[i];
  }
  DD.erase(0, UU);
  exx = false;
  for (int i = DD.size() - 1; i >= 0; i--) {
    if (exx)
      PP += DD[i];
    else if (DD[i] != '0') {
      PP += DD[i];
      exx = true;
    }
  }
  reverse(PP.begin(), PP.end());
  if (PP.size() != 0) {
    II += '.';
    II += PP;
  } else {
    for (int i = 0; i < diff; i++) II += '0';
  }
  cout << II << endl;
  return 0;
}
