#include <iostream> using namespace std; int main(){ double x,y,z; cin>>x>>y>>z; printf("MEDIA = %.1lf",(2*x+3*y+5*z)/(2+3+5)); return 0; }