#include <bits/stdc++.h>
using namespace std;
long long int prod(long long int a, long long int b) {
  long long int x, d;
  if (b == 0)
    return 1;
  else {
    d = prod(a, b / 2);
    x = (d * d) % 1000000007;
    if (b % 2 == 0)
      return x;
    else
      return (x * (a % 1000000007)) % 1000000007;
  }
}
int main() {
  char s[100005];
  long long int i, j, k, flag, temp, power, l;
  scanf("%s", s);
  ;
  l = strlen(s);
  temp = 1;
  power = 0;
  for (i = l - 1; i >= 0; i--) {
    if (s[i] == 'e') break;
    power += (s[i] - '0') * temp;
    temp *= 10;
  }
  j = l - 1;
  while (s[j] != 'e') j--;
  j--;
  while (s[j] == '0') j--;
  if (s[j] == '.') j--;
  if (power == 0) {
    for (i = 0; i <= j; i++) {
      if (s[i] == 'e') break;
      cout << s[i];
    }
    printf("\n");
  } else {
    j = l - 1;
    while (s[j] != 'e') j--;
    j--;
    flag = 0;
    for (i = 0; i <= j; i++) {
      if (s[i] == '.') {
        flag = 1;
        continue;
      }
      cout << s[i];
      if (flag) power--;
      if (power == 0 && i != j) printf(".");
    }
    for (i = 0; i < power; i++) cout << "0";
    cout << endl;
  }
  return 0;
}
