文件目录

#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
    double n, m, sum;
    cin >> n >> m;
    sum = n * 87 + m * 85;
    cout << fixed << setprecision(4) << sum / (n + m);
    return 0;
}