#include <cstddef>
#include <cstdio>
#include <iostream>
#include <string>
using namespace std;
int main() {
string a;
while(cin >> a){
size_t pos = a.find(".");
if(pos != string::npos && a.length() > pos +1){
double num = stod(a);
printf("%0.1f\n",num);
}else
cout << a << endl;
}
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号