#include <bits/stdc++.h>
using namespace std;
int main() {
  char ch[500], s[500], c;
  int i, a, d, b, point, exp = -1, l, x;
  cin >> ch;
  for (i = 0; i < strlen(ch); i++) {
    if (ch[i] == '.')
      point = i;
    else if (ch[i] == 'e')
      exp = i;
    if (exp != -1) break;
  }
  sscanf(ch, "%d", &a);
  sscanf(ch + exp + 1, "%d", &b);
  if (b / 100)
    l = 3;
  else if (b / 10)
    l = 2;
  else
    l = 1;
  x = b - (strlen(ch) - 3 - l);
  if ((!a) && (ch[2] == '0') && (exp == point + 2))
    cout << '0';
  else if (!a)
    for (i = 0; i < strlen(ch) - 2; i++) cout << ch[i];
  else {
    ch[strlen(ch) - l - 1] = '\0';
    if (!b) {
      if ((ch[point + 1] == '0') && (strlen(ch) == point + 2))
        cout << a;
      else
        cout << ch;
    } else {
      for (i = 0; i < strlen(ch); i++) {
        if (ch[i] != '.') cout << ch[i];
        if ((x < 0) && (i == strlen(ch) + x - 1)) cout << '.';
      }
      if (x > 0)
        for (i = 1; i <= x; i++) cout << '0';
    }
  }
  return 0;
}
