#include<iostream> using namespace std; int main(){ float a,b,c; cin>>a>>b>>c; printf("MEDIA = %.1f",0.2*a+0.3*b+0.5*c); return 0; }