#include <bits/stdc++.h>
using namespace std;
string in;
int a;
string b, c;
int lf;
int main() {
  int i;
  cin >> in;
  a = in[0] - '0';
  for (i = 2; i < in.length(); i++) {
    if (in[i] == 'e') break;
    b += in[i];
  }
  lf = b.length();
  for (i = i + 1; i < in.length(); i++) {
    c += in[i];
  }
  int exp = atoi(c.c_str());
  if (exp == 0 && b == "0") {
    cout << a << endl;
    return 0;
  }
  if (exp >= lf) {
    int flag2 = 0;
    if (a) {
      cout << a;
      flag2 = 1;
    }
    for (i = 0; i < b.length(); i++) {
      if (b[i] != '0') {
        flag2 = 1;
        cout << b[i];
      } else if (flag2) {
        cout << b[i];
      }
    }
    for (i = lf; i < exp; i++) {
      cout << 0;
    }
    cout << endl;
  } else {
    int flag = 0;
    int flag2 = 0;
    if (a) {
      cout << a;
      flag2 = 1;
      flag = 1;
    }
    for (i = 0; i < exp; i++) {
      if (b[i] != '0') {
        flag2 = 1;
        flag = 1;
        cout << b[i];
      } else if (flag2) {
        cout << b[i];
        flag = 1;
      }
    }
    if (!flag) cout << 0;
    cout << '.';
    for (; i < b.length(); i++) {
      cout << b[i];
    }
    cout << endl;
  }
}
