#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, d, b;
  string s;
  cin >> s;
  string temp;
  int dot;
  for (int i = 0; i < s.size(); i++) {
    int k = 0;
    if (s[i] == '.') {
      dot = i;
    }
    if (s[i] == 'e') {
      for (int j = i + 1; j < s.size(); j++) {
        temp += s[j];
      }
      k = 1;
    }
    if (k == 1) break;
  }
  int not_zero = 0;
  for (int i = dot + 1; i < s.size(); i++) {
    if (s[i] == 'e') {
      break;
    }
    if (s[i] != '0') {
      not_zero = 1;
    }
  }
  int len = temp.size();
  int bk = 0;
  if (len == 3) {
    bk = 100;
  } else if (len == 1) {
    bk = (int)temp[0] - 48;
  } else if (len == 2) {
    int tt = temp[0] - 48;
    int ll = temp[1] - 48;
    bk = tt * 10 + ll;
  }
  if (bk == 0 && not_zero == 0) {
    for (int i = 0; i < dot; i++) {
      cout << s[i];
    }
    return 0;
  }
  if (s[dot - 1] == '0' && s[dot + 1] == '0' && bk == 0) {
    cout << s[dot - 1] << endl;
    return 0;
  }
  string tm, tm2;
  int yes = 0;
  if (bk == 0) {
    for (int i = 0; i < s.size(); i++) {
      if (s[i] == 'e') {
        break;
      }
      cout << s[i];
    }
  } else {
    for (int i = 0; i < s.size(); i++) {
      if (s[i] == 'e') break;
      if (i < dot) {
        tm += s[i];
      }
      if (i > dot && bk != 0 && yes == 0) {
        tm2 += s[i];
        bk--;
      }
      if (yes == 1) {
        tm2 += s[i];
      }
      if (bk == 0 && yes == 0) {
        if (s[i + 1] == 'e') {
          yes = 1;
        } else {
          tm2 += '.';
          yes = 1;
        }
      }
    }
    if (bk > 0) {
      for (int k = 0; k < bk; k++) {
        tm2 += '0';
      }
    }
    cout << tm + tm2 << endl;
  }
  return 0;
}
