#include <bits/stdc++.h>
using namespace std;
char s[1000], ans[1000];
int main() {
  scanf("%s", s);
  int len = strlen(s);
  int p, b = 0;
  for (int i = 0; i < len; i++)
    if (s[i] == 'e') {
      p = i;
      break;
    }
  for (int i = p + 1; i < len; i++) b = b * 10 + (s[i] - '0');
  for (int i = 0; i < b; i++) ans[i] = (i + 2 < p) ? s[i + 2] : '0';
  if (b + 1 < p - 1 && !(p - b - 2 == 1 && s[b + 2] == '0')) {
    ans[b] = '.';
    for (int i = b + 1; i < p - 1; i++) ans[i] = s[i + 1];
  }
  if (s[0] != '0' || (b == 0)) printf("%c", s[0]);
  cout << ans << endl;
  return 0;
}
