import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String[] str = bf.readLine().split("E");
StringBuffer sb = new StringBuffer("");
int index = Integer.parseInt(str[1]);
String buf = str[0];
char sign = str[0].charAt(0);
if (index < 0) {
sb.append("0.");
for (int i = 1; i < Math.abs(index); i++) {
sb.append("0");
}
sb.append(buf.replace("+", "")
.replace("-", "")
.replace(".", ""));
if (sign == '-')
sb.insert(0, sign);
} else if (index > 0) {
char[] code = buf.replace("+", "").replace("-", "").replace(".", "").toCharArray();
for (int i = 0; i < code.length; i++) {
sb.append(code[i]);
index--;
}
for (int i = 0; i < index + 1; i++) {
sb.append(0);
}
if (sign == '-')
sb.insert(0, sign);
if (sb.length() + index + 1 < sb.length()) {
sb.insert(sb.length() + index + 1, '.');
}
} else {
String[] temp = buf.split("\\.");
if (Integer.parseInt(temp[1]) == 0) {
sb.append(Integer.parseInt(temp[0]));
} else
sb.append(buf.replace("+", ""));
}
System.out.println(sb.toString().trim());
}
}