#include <bits/stdc++.h>
using namespace std;
int main() {
  char str[100000];
  cin >> str;
  int p1, n, i, p, b, e;
  n = strlen(str);
  for (i = 0; i < n; i++)
    if (str[i] == '.')
      p = i;
    else if (str[i] == 'e')
      e = i;
  b = 0;
  for (i = e + 1; i < n; i++) b = b * 10 + str[i] - 48;
  if (b == 0) {
    if (e - p == 2 && str[p + 1] == '0')
      cout << str[p - 1];
    else
      for (i = 0; i < e; i++) cout << str[i];
  } else {
    cout << str[0];
    for (i = 2; i < 2 + b; i++)
      if (i < e)
        cout << str[i];
      else
        cout << '0';
    p1 = p + b;
    if (p1 + 1 < e) {
      cout << ".";
      for (i = p1 + 1; i < e; i++) cout << str[i];
    }
  }
  return 0;
}
