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