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