#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b = 0, c, d;
  string s, f;
  char t = 'e', t1 = '.';
  cin >> s;
  int i, j = 0;
  for (i = s.find('e') + 1; i < s.size(); i++) {
    b = b * 10 + (s[i] - 48);
  }
  i = s.find('e') - 1;
  while (s[i] != '.') {
    j++;
    i--;
  }
  if (s == "0.0e0") return cout << 0, 0;
  if (b == 0) {
    if (j == 1 && s[2] == '0') return cout << s[0], 0;
    i = 0;
    while (s[i] != 'e') {
      cout << s[i];
      i++;
    }
  }
  if (b < j && b != 0) {
    i = 1;
    while (i <= b) {
      swap(s[i], s[i + 1]);
      i++;
    }
    i = 0;
    while (s[i] == '0') i++;
    if (i) i--;
    while (s[i] != 'e') {
      cout << s[i];
      i++;
    }
  }
  if (b == j) {
    i = 0;
    while (s[i] == '0' || s[i] == '.') i++;
    while (s[i] != 'e') {
      if (s[i] != '.') cout << s[i];
      i++;
    }
  }
  if (b > j) {
    i = 0;
    while (s[i] == '0' || s[i] == '.') i++;
    while (s[i] != 'e') {
      if (s[i] != '.') cout << s[i];
      i++;
    }
    for (int i = 0; i < b - j; i++) {
      cout << 0;
    }
  }
}
