#include <bits/stdc++.h>
using namespace std;
string s;
bool kt(string s) {
  int i = s.size() - 1;
  while (s[i] == '0') i--;
  if (s[i] == 'e') {
    i--;
    while (s[i] == '0') i--;
    if (s[i] == '.') {
      for (int j = 0; j < i; j++) cout << s[j];
      return 1;
    }
  }
  return 0;
}
int main() {
  cin >> s;
  if (kt(s)) {
    return 0;
  }
  int b = 0, t = 1;
  for (int i = s.size() - 1; s[i] != 'e'; i--) {
    b += t * (s[i] - '0');
    t *= 10;
  }
  int j = s.size() - 1;
  while (s[j] != 'e') j--;
  s.erase(j, s.size() - j);
  j = 0;
  while (s[j] != '.') j++;
  int d = s.size() - j - 1;
  while (d < b) {
    d++;
    s += "0";
  }
  for (int i = 0; i < j; i++) cout << s[i];
  for (int i = j + 1, t = 1; t <= b; i++, t++) cout << s[i];
  if (b < d) {
    cout << ".";
    for (int i = j + b + 1; i < s.size(); i++) cout << s[i];
  }
}
