#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int p, j;
  for (p = 0; s[p] != '.' && s[p] != 'e'; p++)
    ;
  for (j = p; s[j] != 'e'; j++)
    ;
  int ord = 0;
  for (int i = j + 1; i < s.size(); i++) {
    ord = 10 * ord + s[i] - 48;
  }
  if (ord < j - p - 1) {
    string s1 = "";
    for (int i = 0; i < p; i++) s1 = s1 + s[i];
    for (int i = p + 1; i < p + 1 + ord; i++) s1 = s1 + s[i];
    s1 = s1 + ".";
    for (int i = p + 1 + ord; i < j; i++) s1 = s1 + s[i];
    int ss = s1.size() - 1;
    for (; s1[ss] == '0'; ss--)
      ;
    if (s1[ss] == '.') ss--;
    for (int i = 0; i <= ss; i++) cout << s1[i];
  } else {
    for (int i = 0; i < p; i++) cout << s[i];
    for (int i = p + 1; i < j; i++) cout << s[i];
    for (int i = 0; i < ord - j + p + 1; i++) cout << 0;
  }
  cout << "\n";
  return 0;
}
