#include using namespace std; typedef long long int ll; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); double a,b,c,d; cin >> a >> b >> c >> d; printf("%.9f\n",c/(a+b)*d); }