#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int pos = 0;
  for (char c : s) {
    if (c == 'e') {
      break;
    }
    pos++;
  }
  int shift = stoi(s.substr(pos + 1, 3));
  if (shift == 0 and s[pos - 1] == '0') {
    cout << s[0] << endl;
    return 0;
  }
  cout << s[0];
  cout << s.substr(2, min(pos - 2, shift));
  if (shift >= pos - 2) {
    for (int i = 0; i < shift - pos + 2; i++) {
      cout << '0';
    }
  } else {
    cout << ".";
    cout << s.substr(2 + shift, pos - 2 - shift);
  }
  return 0;
}
