#include <bits/stdc++.h>
using namespace std;
int main() {
  string x;
  getline(cin, x);
  int a;
  a = x.find("e");
  int b;
  int c = x.length();
  string y, z;
  y = x.substr(a + 1, (c - (a + 1)));
  z = x.substr(0, a);
  b = std::stoi(y);
  a = z.find(".");
  int h = z.length() - a - 1;
  if (z[(z.length()) - 1] == '0' && b == 0)
    cout << z.erase(a);
  else {
    z = z.replace(a, 1, "");
    if (b >= h) {
      for (int i = 1; i <= b - h; i++) {
        z = z + "0";
      }
      cout << z;
    } else {
      z = z.insert(a + b, ".");
      cout << z;
    }
    return 0;
  }
}
