#include <bits/stdc++.h>
using namespace std;
int main() {
  char str[105];
  cin >> str;
  int dotpos, epos;
  int b = 0;
  int i = 0;
  while (str[i] != '\0') {
    if (str[i] == '.')
      dotpos = i;
    else if (str[i] == 'e')
      epos = i;
    i++;
  }
  int endstr = i - 1;
  i = epos + 1;
  while (i <= endstr) {
    b = b * 10 + (int)str[i] - (int)'0';
    i++;
  }
  cout << str[0];
  i = 2;
  if (str[1] == '.' && str[2] == '0' && str[3] == 'e' && str[4] == '0') {
  } else {
    if (dotpos + b < epos - 1) {
      while (b--) {
        cout << str[i];
        i++;
      }
      cout << ".";
      while (i < epos) {
        cout << str[i];
        i++;
      }
    } else if (dotpos + b >= epos - 1) {
      while (b--) {
        if (i < epos) {
          cout << str[i];
          i++;
        } else
          cout << "0";
      }
    }
  }
  return 0;
}
