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