#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  vector<int> d;
  int i;
  d.push_back(s[0] - '0');
  for (i = 2; i < s.length(); i++) {
    if (s[i] == 'e') break;
    d.push_back(s[i] - '0');
  }
  int x = 0;
  for (int j = i + 1; j < s.length(); j++) x = x * 10 + s[j] - '0';
  while (d.size() < x + 1) d.push_back(0);
  i = 0;
  while (i < x + 1) cout << d[i++];
  if (i < d.size()) {
    if (i + 1 == d.size() && d[i] == 0) return 0;
    cout << ".";
    while (i < d.size()) cout << d[i++];
  }
  return 0;
}
