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