#include <bits/stdc++.h>
using namespace std;
int main() {
  int l, i, j, n, k, a = 0, b = 0, d = 0;
  string s, an = "", dn = "";
  cin >> s;
  l = s.size();
  int t = 0;
  an = s[0];
  a = s[0] - '0';
  for (i = 2; i < l; i++) {
    if (s[i] == 'e')
      break;
    else {
      dn += s[i];
      d++;
    }
  }
  if (a > 0) {
    for (i = l - 1; i >= 0; i--) {
      if (s[i] == 'e')
        break;
      else {
        b += (s[i] - '0') * ceil(pow(10, t));
        t++;
      }
    }
  } else
    b = 0;
  if (a == 0) {
    cout << 0;
    if (d > 1 || (d > 0 && dn[0] != '0')) cout << '.' << dn;
    cout << endl;
  } else {
    cout << a;
    if (b == d)
      cout << dn;
    else if (b > d) {
      cout << dn;
      for (i = 0; i < b - d; i++) cout << 0;
    } else {
      for (i = 0; i < b; i++) cout << dn[i];
      if (d > 1 || (d > 0 && dn[0] != '0')) {
        cout << '.';
        for (i = b; i < d; i++) cout << dn[i];
      }
    }
    cout << endl;
  }
  return 0;
}
