#include <bits/stdc++.h>
using namespace std;
int main() {
  string number;
  cin >> number;
  int index = 0;
  vector<int> indexs;
  while (number.back() != 'e') {
    indexs.push_back(number.back() - '0');
    number.pop_back();
  }
  number.pop_back();
  for (int i = indexs.size() - 1; i >= 0; i--) {
    index *= 10;
    index += indexs[i];
  }
  string ans = "";
  ans += number[0];
  for (int i = 2; i < number.length(); i++) {
    ans += number[i];
  }
  for (int i = 0; i <= index; i++) {
    if (i < ans.length())
      cout << ans[i];
    else
      cout << '0';
  }
  if (ans.length() > 2 || ans[1] != '0') {
    if (ans.length() - 1 > index) cout << '.';
    for (int i = index + 1; i < ans.length(); i++) cout << ans[i];
  }
  cout << endl;
  return 0;
}
