#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e6 + 100;
char str[1000];
int main() {
  scanf("%s", str);
  int point = 0;
  int exp = 0;
  int last = 0;
  bool flag = false;
  int len = strlen(str);
  for (int i = 0; i < len; i++) {
    if (str[i] == '.') point = i;
    if (flag) exp = exp * 10 + str[i] - '0';
    if (str[i] == 'e') flag = true, last = i - 1;
  }
  int pos = point + exp;
  flag = false;
  for (int i = 0; i <= pos; i++) {
    if (str[i] == '.') continue;
    if (str[i] != '0') flag = true;
    if (!flag) continue;
    if (i <= last)
      printf("%c", str[i]);
    else
      printf("0");
  }
  int num = 0;
  for (int i = pos + 1; i <= last; i++) num = num * 10 + str[i] - '0';
  if (!flag) printf("0");
  if (pos < last && num) {
    printf(".");
    for (int i = pos + 1; i <= last; i++) printf("%c", str[i]);
  }
  printf("\n");
  return 0;
}
