#include <stdio.h>

int main() {
    float num;
    scanf("%f", &num);
    printf("%.4e\n", num);
}

//https://pt.stackoverflow.com/q/327650/101