#include <iostream> #include <cmath> using namespace std; int main() { double a,b,c; cin>>a; cin>>b; cin>>c; printf("MEDIA = %.1f",(2*a+3*b+5*c)/10); return 0; }