#include <bits/stdc++.h>
using namespace std;
int min(int t, int tt) {
  if (t < tt) return t;
  return tt;
}
int main() {
  int j, i, l, ll, k;
  string s;
  cin >> s;
  l = s.size();
  char a[10000];
  char d[10000];
  char b[10000];
  for (i = 0; i < l; i++) {
    if (s[i] == '.') break;
    a[i] = s[i];
  }
  a[i + 1] = 0;
  ll = i + 1;
  for (i = i + 1, j = 0; i < l; i++) {
    if (s[i] == 'e') break;
    b[j] = s[i];
    j++;
  }
  b[j] = 0;
  int ss = 0;
  for (i = i + 1; i < l; i++) {
    ss = ss * 10 + s[i] - '0';
  }
  if (ss > 0) {
    if (a[0] == '0') {
      if (j > ss) {
        for (i = 0; i < ss; i++) {
          if (b[i] != '0') {
            k = 1;
            break;
          }
        }
        if (k == 1) {
          for (i = i; i < ss; i++) {
            cout << b[i];
          }
        } else
          cout << "0";
        k = 0;
        for (i = j - 1; i >= ss; i--)
          if (b[i] != '0') {
            k = 1;
            break;
          }
        if (k == 1) cout << ".";
        for (j = ss; j <= i; j++) cout << b[j];
        cout << "\n";
      } else if (j == ss) {
        k = 0;
        for (i = 0; i < ss; i++) {
          if (b[i] != '0') {
            k = 1;
            break;
          }
        }
        if (k == 1) {
          for (i = i; i < ss; i++) cout << b[i];
        } else {
          cout << "0";
        }
        cout << "\n";
      } else {
        for (i = 0; i < j; i++) cout << b[i];
        for (i = j; i < ss; i++) cout << "0";
        cout << "\n";
      }
    } else {
      cout << a;
      if (j > ss) {
        for (i = 0; i < ss; i++) cout << b[i];
        k = 0;
        for (i = j - 1; i >= ss; i--)
          if (b[i] != '0') {
            k = 1;
            break;
          }
        if (k == 1) cout << ".";
        for (j = ss; j <= i; j++) cout << b[j];
        cout << "\n";
      } else if (j == ss) {
        k = 0;
        for (i = 0; i < ss; i++) {
          if (b[i] != '0') {
            k = 1;
            break;
          }
        }
        if (k == 1) {
          for (i = i; i < ss; i++) cout << b[i];
        } else {
          cout << "0";
        }
        cout << "\n";
      } else {
        for (i = 0; i < j; i++) cout << b[i];
        for (i = j; i < ss; i++) cout << "0";
        cout << "\n";
      }
    }
  } else {
    cout << a;
    k = 0;
    for (i = j - 1; i >= 0; i--)
      if (b[i] != '0') {
        k = 1;
        break;
      }
    if (k) cout << ".";
    for (j = 0; j <= i; j++) cout << b[j];
    cout << "\n";
  }
  return 0;
}
