#include <bits/stdc++.h>
using namespace std;
char B[15000000];
int main() {
  string A;
  cin >> A;
  int flag1 = 0;
  int flag2 = 0;
  int j = 0;
  for (int i = 0; i < A.length(); i++) {
    if (A[i] == '.') {
      flag1 = i;
    }
    if (A[i] != 'e') {
      B[j++] = A[i];
    } else {
      flag2 = i;
      B[j] = '\0';
      break;
    }
  }
  int wenbao = 0;
  for (int i = flag2 + 1; i < A.length(); i++) {
    wenbao *= 10;
    wenbao += A[i] - '0';
  }
  int cnt = strlen(B);
  for (int i = cnt; i < cnt + 1500; i++) {
    B[i] = '0';
  }
  B[cnt + 99] = '\0';
  for (int i = flag1; i <= wenbao; i++) {
    swap(B[i], B[i + 1]);
  }
  cnt = strlen(B);
  for (int i = cnt - 1;; i--) {
    if (B[i] == '0') {
      B[i] = '\0';
    } else {
      break;
    }
  }
  if (B[strlen(B) - 1] == '.') {
    B[strlen(B) - 1] = '\0';
  }
  for (int i = 0; i < strlen(B); i++) {
    if (B[i] == '0' && B[i + 1] != '.') {
      B[i] = '!';
    } else {
      break;
    }
  }
  if (B[strlen(B) - 1] == '!') {
    cout << "0" << endl;
    return 0;
  }
  for (int i = 0; i < strlen(B); i++) {
    if (B[i] == '!') {
      continue;
    } else {
      printf("%c", B[i]);
    }
  }
  cout << endl;
}
