#include <bits/stdc++.h>
using namespace std;
string s, ans;
int b = 0;
int main() {
  cin >> s;
  int punkt = -1, e = -1;
  for (int i = 0; i < (int)s.size(); i++)
    if (s[i] == '.')
      punkt = i;
    else if (s[i] == 'e')
      e = i;
  for (int i = e + 1; i < (int)s.size(); i++) b = 10 * b + (s[i] - '0');
  for (int i = 0; i < e; i++) ans = ans + s[i];
  for (int i = 0; i < b; i++) ans = ans + '0';
  for (int i = 0; i < b; i++) swap(ans[punkt], ans[punkt + 1]), punkt++;
  while ((int)ans.size() != 0) {
    if (ans[(int)ans.size() - 1] == '.') {
      ans.pop_back();
      break;
    } else if (ans[(int)ans.size() - 1] == '0')
      ans.pop_back();
    else
      break;
  }
  if (ans == "")
    cout << "0" << endl;
  else
    cout << ans << endl;
}
