#include <bits/stdc++.h>
using namespace std;
char s[200];
int len, i, j, ans, cnt;
int main() {
  scanf("%s", s);
  len = strlen(s);
  ans = 0;
  cnt = 1;
  i = len;
  while (s[--i] != 'e') {
    ans += cnt * (s[i] - '0');
    cnt *= 10;
  }
  cnt = 0;
  if (s[2] == '0' && s[3] == 'e' && ans == 0)
    printf("%c\n", s[0]);
  else if (s[0] == '0') {
    i = -1;
    while (s[++i] != 'e') {
      printf("%c", s[i]);
    }
    printf("\n");
  } else {
    s[1] = s[0];
    i = 0;
    while (s[++i] != 'e') {
      printf("%c", s[i]);
      if (i - 1 == ans && s[i + 1] != 'e') printf(".");
    }
    while (ans > i - 2) printf("0"), i++;
    printf("\n");
  }
  return 0;
}
