#include <bits/stdc++.h>
int main() {
  char input[200];
  int i, len, exp, e, point, ten, temp;
  scanf("%s", input);
  len = strlen(input);
  for (i = 0; i < len; i++) {
    if (input[i] == '.') point = i + 1;
    if (input[i] == 'e') {
      e = i;
      break;
    }
  }
  ten = 1;
  exp = 0;
  for (i = len - 1; i > e; i--) {
    temp = input[i] - 48;
    exp += temp * ten;
    ten *= 10;
  }
  if (e - point == 1 && input[e - 1] == '0' && input[e + 1] == '0')
    for (i = 0; i < point - 1; i++) printf("%c", input[i]);
  else {
    for (i = 0; i < e; i++) {
      if (exp + point == i) printf(".");
      if (input[i] != '.') printf("%c", input[i]);
    }
    temp = e - point;
    if (exp > temp) {
      exp -= temp;
      while (exp--) printf("0");
    }
  }
  printf("\n");
  return 0;
}
