#include <iostream> using namespace std; int main() { double A, B, X; scanf("%lf%lf", &A, &B); X = (A*3.5 + B*7.5) / 11; printf("MEDIA = %.5lf", X); return 0; }