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