#include <bits/stdc++.h>
using namespace std;
string s;
string a;
int main() {
  cin >> s;
  int i = 0;
  while (i < s.size()) {
    if (s[i] == 'e') {
      break;
    }
    a.push_back(s[i++]);
  }
  int b = 0;
  i++;
  while (i < s.size()) b = b * 10 + (s[i++] - '0');
  i = 0;
  while (a[i] != '.') cout << a[i++];
  i++;
  while (b > 0) {
    if (i >= a.size()) cout << 0;
    if (i < a.size()) cout << a[i];
    b--;
    i++;
  }
  if (i >= a.size()) return 0;
  int j = a.size() - 1;
  while (a[j] == '0') j--;
  if (j + 1 == i) return 0;
  cout << '.';
  while (i <= j) cout << a[i++];
}
