#include <bits/stdc++.h>
using namespace std;
int main() {
  string x;
  cin >> x;
  string ans, in, dec, exp;
  int flag = 0;
  for (int i = 0; i < x.length(); i++) {
    if (x[i] == '.')
      flag = 1;
    else if (x[i] == 'e')
      flag = 2;
    else if (flag == 0)
      in += x[i];
    else if (flag == 1)
      dec += x[i];
    else if (flag == 2)
      exp += x[i];
  }
  int e = stoi(exp);
  ans += in;
  if (e <= dec.length()) {
    ans += dec.substr(0, e);
    if (e < dec.length()) {
      ans += '.';
      ans += dec.substr(e, dec.length());
    }
  } else {
    ans += dec;
    ans += string(e - dec.length(), '0');
  }
  flag = 0;
  if (dec.length() < 2 && stoi(dec) == 0 && e == 0) ans = in;
  cout << ans << endl;
}
