using namespace std;
int main() { double a, b, c; scanf(“%1f%1f%1f”, &a, &b, &c); printf(“MEDIA = %.1lf\n”,(a * 2 + b * 3 + c * 5)/10);
return 0;
}