#include <bits/stdc++.h>
using namespace std;
int main() {
  char s[110];
  cin >> s;
  int n = strlen(s);
  int i, x, y, u, e, exp = 0;
  for (i = 0; s[i] != '.'; i++)
    ;
  x = i;
  u = i;
  for (; s[i] != 'e'; i++)
    ;
  y = i;
  i++;
  while (i < n) {
    exp = exp * 10 + (int)(s[i] - 48);
    i++;
  }
  if (!(s[0] == '0' && s[1] == '.' && exp > 0)) {
    for (i = 0; s[i] != '.'; i++) cout << s[i];
  }
  e = exp;
  while (exp--) {
    if (s[x + 1] != 'e')
      cout << s[++x];
    else
      cout << 0;
  }
  x = x + 1;
  if (x != y) {
    if (e == 0 && s[u + 1] == '0' && s[u + 2] == 'e')
      ;
    else {
      cout << ".";
      for (; x < y; x++) cout << s[x];
    }
  }
  return 0;
}
