#include <bits/stdc++.h>
using namespace std;
const long double PI = 3.1415926535897932384626433832795;
const long double EPS = 1e-11;
string s;
string a, d;
int b;
int main() {
  cin >> s;
  int i = 0;
  for (; s[i] != '.'; i++) a += s[i];
  i++;
  for (; s[i] != 'e'; i++) d += s[i];
  i++;
  for (; i < s.size(); i++) b = b * 10 + (s[i] - '0');
  for (int i = 0; i < (200); i++) d += '0';
  for (int i = 0; i < (b); i++) {
    a += d[i];
    d[i] = '.';
  }
  bool oo = 0;
  for (int i = 0; i < (a.size()); i++) {
    if (i == a.size() - 1 || a[i] != '0') oo = 1;
    if (oo) cout << a[i];
  }
  string dd = "";
  bool o = 0;
  for (int i = d.size() - 1; i >= 0; i--) {
    if (d[i] != '0' && d[i] != '.') o = 1;
    if (o && d[i] != '.') dd = d[i] + dd;
  }
  if (o)
    cout << '.' << dd << endl;
  else
    cout << endl;
  return 0;
}
