#include using namespace std; int main() { float t1,k1,t2,k2,t; cin>>t1>>k1>>t2>>k2; t=1/(k1/t1+k2/t2); cout<