#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  string whole, dec, exp;
  int i = 0;
  for (i; i < s.size(); i++) {
    if (s[i] == '.') {
      i++;
      break;
    }
    whole += s[i];
  }
  for (i; i < s.size(); i++) {
    if (s[i] == 'e') {
      i++;
      break;
    }
    dec += s[i];
  }
  if (dec == "0") {
    dec = "";
  }
  for (i; i < s.size(); i++) {
    exp += s[i];
  }
  int exp_num_val = 0;
  for (int i = 0; i < exp.size(); i++) {
    exp_num_val += (exp[i] - '0');
    exp_num_val *= 10;
  }
  exp_num_val /= 10;
  int num_of_zeroes = exp_num_val - dec.size();
  string ans;
  if (num_of_zeroes < 0) {
    num_of_zeroes = abs(num_of_zeroes);
    ans += whole;
    for (int i = 0; i < dec.size() - num_of_zeroes; i++) {
      ans += dec[i];
    }
    ans += '.';
    for (int i = dec.size() - num_of_zeroes; i < dec.size(); i++) {
      ans += dec[i];
    }
  } else {
    ans += whole;
    ans += dec;
    for (int i = 0; i < num_of_zeroes; i++) {
      ans += '0';
    }
  }
  cout << ans;
  return 0;
}
