1100105 - 地球人口承载力估计

include

include

using namespace std;

int main() {

int x, y, a, b;
double z;

cin >> x >> a >> y >> b;
z = (y * b - x * a) / (b - a);
cout << fixed << setprecision(2);
cout << z << endl;
return 0;

}