#include<bits/stdc++.h> using namespace std; int main() { double x,a,y,b; printf("%.2lf",1.0*((x*a-y*b)/(a-b))); return 0; }