#include using namespace std; int main(){ double a,b,x,y; cin >> a >> b >> x >> y; printf("%.8lf\n", x/(a+b)*y); return 0; }