#include <bits/stdc++.h>
using namespace std;
int main() {
  string adeb, d;
  char a;
  int b;
  cin >> adeb;
  for (int i = 0; i < adeb.size(); i++)
    if (adeb[i] == '.' || adeb[i] == 'e') adeb[i] = ' ';
  stringstream ss(adeb);
  ss >> a >> d >> b;
  if (b == d.length()) {
    if (a != '0')
      cout << a << d << endl;
    else {
      while (d[0] == '0') d.erase(0, 1), b--;
      ;
      cout << d << endl;
    }
  } else if (b > d.length()) {
    if (a != '0')
      cout << a << d;
    else {
      while (d[0] == '0') d.erase(0, 1), b--;
      ;
      cout << d;
    }
    for (int i = 0; i < b - d.length(); i++) cout << "0";
    cout << endl;
  } else {
    if (a == '0' && d[d.length() - 1] == '0') {
      cout << 0 << endl;
    } else {
      if (b == 0) {
        cout << a;
        if (d != "0") cout << '.' << d;
      } else {
        if (a != '0') cout << a;
        for (int i = 0; i < b; i++) cout << d[i];
        if (d != "0") {
          cout << ".";
          for (int i = b; i < d.length(); i++) cout << d[i];
          cout << endl;
        }
      }
    }
  }
}
