#include <bits/stdc++.h>
using namespace std;
string StrNubmber(long long number) {
  string ans = "";
  if (number == 1)
    ans = "1";
  else if (number == 2)
    ans = "2";
  else if (number == 3)
    ans = "3";
  else if (number == 4)
    ans = "4";
  else if (number == 5)
    ans = "5";
  else if (number == 6)
    ans = "6";
  else if (number == 7)
    ans = "7";
  else if (number == 8)
    ans = "8";
  else if (number == 9)
    ans = "9";
  else
    ans = "0";
  return ans;
}
string ToStr(long long number) {
  string ans = "";
  while (number / 10 >= 1) {
    ans = StrNubmber(number % 10) + "" + ans;
    number /= 10;
  }
  ans = StrNubmber(number % 10) + "" + ans;
  number /= 10;
  return ans;
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  string s;
  cin >> s;
  unsigned long long tPoint = 0;
  unsigned long long ePoint = 0;
  unsigned long long i = 0;
  while (s[i] != 'e') {
    i++;
    if (s[i] == '.') tPoint = i;
    if (s[i] == 'e') ePoint = i;
  }
  string ans = s.substr(0, tPoint);
  string endCount = s.substr(ePoint + 1);
  unsigned long long count = stoi(endCount);
  long long number = ePoint - (tPoint + 1 + count);
  if (number < 0) {
    ans += s.substr(tPoint + 1, count + number);
    while (number < 0) {
      ans += "0";
      number++;
    }
  } else {
    ans += s.substr(tPoint + 1, count);
    if (s.substr(tPoint + 1 + count, ePoint - tPoint - 1 - count) != "" &&
        s.substr(tPoint + 1 + count, ePoint - tPoint - 1 - count) != "0")
      ans += "." + s.substr(tPoint + 1 + count, ePoint - tPoint - 1 - count);
  }
  cout << ans;
  return 0;
}
