#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  string s;
  cin >> s;
  int n = s.length();
  int p = s.find("e");
  string s1 = s.substr(0, p);
  string s2 = s.substr(p + 1, n - p + 1);
  int b = 0;
  for (__typeof(0) i = (0), _b = ((int)(s2).size() - 1); i <= _b; i++)
    b = b * 10 + int(s2[i] - '0');
  p = s1.find(".");
  for (__typeof(1) i = (1), _b = (b); i <= _b; i++)
    if (p == -1)
      s1 = s1 + "0";
    else if (p == (int)(s1).size() - 2) {
      s1.erase(p, 1);
      p = -1;
    } else {
      swap(s1[p], s1[p + 1]);
      p++;
    }
  while (s1[0] == '0' && s1[1] != '.') s1.erase(0, 1);
  while (p != -1 && s1[(int)(s1).size() - 1] == '0')
    s1.erase((int)(s1).size() - 1, 1);
  if (s1[(int)(s1).size() - 1] == '.') s1.erase((int)(s1).size() - 1, 1);
  cout << s1 << endl;
}
