#include <stdio.h>

int main() {
    float a, b, c;

    scanf("%f", &a);
    scanf("%f", &b);
    scanf("%f", &c);

    printf("MEDIA = %.1f\n", (a * 2.0 + b * 3.0 + c * 5.0) / 10.0);

    return 0;
}

Solve Average 2 in c
Solve Average 2 in c
