#include <bits/stdc++.h>
const int maxn = 1000;
char s[maxn];
int main() {
  while (scanf("%s", s) == 1) {
    long long len = strlen(s);
    long long begn = 2;
    long long ed;
    for (long long i = 0; i < len; i++) {
      if (s[i] == 'e') {
        ed = i - 1;
        break;
      }
    }
    long long len1;
    long long len2;
    len1 = ed - begn + 1;
    if ((len - 1) - (ed + 1) == 1) len2 = (s[len - 1] - '0');
    if ((len - 1) - (ed + 1) == 2)
      len2 = (s[len - 1] - '0') + (s[len - 2] - '0') * 10;
    if ((len - 1) - (ed + 1) == 3)
      len2 = (s[len - 1] - '0') + (s[len - 2] - '0') * 10 +
             (s[len - 3] - '0') * 100;
    if (len == 5)
      if (s[2] == '0' && s[len - 1] == '0') {
        printf("%c\n", s[0]);
        continue;
      }
    if (s[0] == '0' && s[len - 1] == '0' && s[len - 2] == 'e') {
      if (len == 5 && s[2] == '0') {
        printf("0\n");
        continue;
      } else {
        for (long long i = 0; i <= ed; i++) printf("%c", s[i]);
        printf("\n");
        continue;
      }
    }
    if (len1 <= len2) {
      if (s[0] != '0') printf("%c", s[0]);
      for (long long i = begn; i <= ed; i++) printf("%c", s[i]);
      for (long long i = 0; i < (len2 - len1); i++) printf("0");
      printf("\n");
    }
    int flag = 0;
    int u = 0;
    if (len1 > len2) {
      if (s[0] != '0') printf("%c", s[0]);
      for (long long i = begn; i <= begn + len2 - 1; i++) printf("%c", s[i]);
      for (long long i = ed; i >= begn + len2 - 1; i--) {
        if (s[i] != '0') {
          flag = i;
          u = 1;
          break;
        }
      }
      if (u == 1) printf(".");
      if (u == 0) flag = begn + len2 - 1;
      for (long long i = begn + len2; i <= flag; i++) {
        printf("%c", s[i]);
      }
      printf("\n");
    }
  }
}
