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