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