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