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