#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b;
  char d[105];
  char e[105];
  memset(e, 0, sizeof(e));
  scanf("%s", d);
  int n = strlen(d);
  d[n] = '^';
  int p = strchr(d, 'e') - d;
  sscanf(d + p + 1, "%d", &b);
  a = d[0] - '0';
  int j = -2;
  int k = 0;
  if (b == 0) {
    if (n == 5 && d[2] == '0') {
      cout << a;
      return 0;
    } else
      cout << a << '.';
    for (int i = 2; i < n - 2; i++) cout << d[i];
    return 0;
  }
  int ling;
  if (b <= 9)
    ling = b - n + 4;
  else if (b >= 10 && b <= 99)
    ling = b - n + 5;
  else if (b == 100)
    ling = b - n + 6;
  int jk;
  if (b <= 9)
    jk = 2;
  else if (b > 9 && b <= 99)
    jk = 3;
  else
    jk = 3;
  for (int i = 0; i < n - jk; i++) {
    if (d[i] != '.' && d[i] != 'e') {
      j++;
      if (j != b) {
        e[k++] = d[i];
      } else {
        e[k++] = '.';
        e[k++] = d[i];
      }
    }
  }
  int n2 = strlen(e);
  int ok = 0;
  if (b == 0) ok = 1;
  for (int i = 0; i < n2; i++) {
    if (ok == 1) cout << e[i];
    if (ok == 0 && e[i] != '0') {
      ok = 1;
      cout << e[i];
    }
  }
  if (ling > 0) {
    for (int i = 0; i < ling; i++) {
      cout << 0;
    }
  }
  return 0;
}
