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