#include <bits/stdc++.h>
using namespace std;
double man,bou;
int main() {
cin>>man;
if(man<=150){
cout<<fixed<< setprecision(1)<<man*0.4463;
man-=149;
}if(man>=151||man<=400){
cout<<fixed<< setprecision(1)<<man*0.4663;
man-=400;
}if(man>=401){
cout<<fixed<< setprecision(1)<<man*0.5663;
}
return 0;
}
In:267
Out:124.5
哪里多的三啊!!!