#include using namespace std; int main() { double ax,ay,bx,by; cin >> ax >> ay >> bx >> by; cout << ax*(by-ay)/(ax+bx)+ay << endl; }