#include <iostream> #include <cstdio> using namespace std; int main() { double a, b,media; cin >> a >> b; media = (3.5 * a + 7.5 * b) / 11; printf("MEDIA = %.5lf",media); return 0; }