#include <iostream> #include <iomanip>1
using namespace std;
int main (void) { int x; int y; cin>>x>>y; int sun = x * 89 + y * 875; cout << fixed << setprecision(4); cout <<1.0 * sun / (x + y);
return 0;
}
By signing up a acjudge universal account, you can submit code and join discussions in all online judging services provided by us.
Using your acjudge universal account