#include <bits/stdc++.h> using namespace std; signed main() { double x, y; cin >> x >> y; printf("MEDIA = %.5lf", (x * 3.5 + y * 7.5) / 11.0); return 0; }