#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ii = pair<ll, ll>;
int main() {
  char rep[256], a[256], b[256], d[256];
  while (scanf("%[0-9].%[0-9]e%[0-9]\n", a, d, b) == 3) {
    auto len = strlen(d);
    if (b[0] == '0') {
      if (len == 1 and d[0] == '0')
        printf("%s\n", a);
      else
        printf("%s.%s\n", a, d);
      continue;
    }
    if (a[0] == '0') a[0] = 0;
    while (len > 0 and d[len - 1] == '0') --len;
    d[len] = 0;
    int digits = 0;
    for (auto p = a; *p; ++p) rep[digits++] = *p;
    int n = atoi(b);
    auto p = d;
    for (; *p and n; ++p) {
      rep[digits++] = *p;
      --n;
    }
    rep[digits] = 0;
    if (n == 0) {
      printf("%s", rep);
      if (*p) {
        printf(".");
        while (*p) {
          printf("%c", *p);
          ++p;
        }
      }
      printf("\n");
    } else {
      printf("%s", rep);
      while (n--) printf("0");
      printf("\n");
    }
  }
  return 0;
}
