文件目录

#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
int main()
{
    int x, a, y, b;
    cin >> x >> a >> y >> b;
    printf("%.2lf", 1.0 * (x * a - y * b) / (a - b));
    return 0;
}