#include <iostream> #include <cstring> using namespace std; int main() { char s[10000]; char res[10000]; cin >> s; int len = strlen(s); int pos = 0; while (s[pos] != 'E') ++pos; int exp = 0; for (int i = pos + 2; i < len; ++i) { exp = 10 * exp + (s[i] - '0'); } if (s[pos + 1] == '+') { if(s[0] == '-')cout << "-"; for (int i = 1; i < pos; i++) { if (s[i] == '.') continue; cout << s[i]; if(exp < pos-3 && i == pos-2) cout << "."; } for (int i = 0; i < exp - pos + 3; ++i) cout << '0'; } else { if(s[0] == '-')cout << "-"; cout << "0."; for(int i=0; i<exp-1; ++i) { cout << "0"; } for(int i=1; i<pos; ++i) { if(s[i] == '.')continue; cout << s[i]; } } return 0; }