#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
ios::sync_with_stdio(0),cin.tie(0);
string s;
cin>>s;
ll t1=s[1]-'0';
ll t0=s[0]-'0';
if(s.size()==2){
printf("%lld.%lld*10^1",t0,t1);
}
else{
ll t2=s[2]-'0';
ll legth=s.size()-1;
if(t2>=5){
t1+=1;
}
if(t1==10){
t0+=1;
t1=0;
}
if(t0==10){
legth+=1;
t0=1;
t1=0;
}
printf("%lld.%lld*10^%lld",t0,t1,legth);
}
return 0;
}

京公网安备 11010502036488号