#include<iostream>
#include<string>
using namespace std;
/*
总结:
1.需要注意一下,有时候需要输出小数点
2.string->int:
string text = "152";
int number = atoi( text.c_str() );
*/
string s;
int main() {
cin >> s;
int point_pos = s.find('.');
int E_pos = s.find('E');
int size = s.size();
string l(s,1, point_pos-1);
string r(s, point_pos+1, E_pos - point_pos-1);
string e(s, E_pos + 2, size - E_pos - 1);
int exp = atoi(e.c_str());
if (s[E_pos + 1] == '-') {
if (s[0] == '-')printf("-");
printf ("0.");
for (int i = 0; i < exp-1; i++) {
printf("0");
}
cout << l << r;
}
else {
if (s[0] == '-')printf("-");
int cnt_0 = exp - r.size();
if (cnt_0<0) {
cout << l;
for (int i = 0; i < exp; i++) {
printf("%c", r[i]);
}
printf(".");
for (int j = exp; j < r.size(); j++) {
printf("%c", r[j]);
}
}
else {
cout << l << r;
for (int i = 0; i < cnt_0; i++) {
printf("0");
}
}
}
system("pause");
return 0;
}