#include <stdio.h>
int main() {
float A, B, C, MEDIA;
// คะแนนจากผู้ใช้
scanf("%lf %lf %lf", &A
, &B
, &C
); // ค่าเฉลี่ยถ่วงน้ำหนัก
MEDIA = (A * 2 + B * 3 + C * 5) / 10;
// ผลลัพธ์
printf("MEDIA = %.1lf\n", MEDIA
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkgewogICAgZmxvYXQgQSwgQiwgQywgTUVESUE7CiAgICAvLyDguITguLDguYHguJnguJnguIjguLLguIHguJzguLnguYnguYPguIrguYkKICAgIHNjYW5mKCIlbGYgJWxmICVsZiIsICZBLCAmQiwgJkMpOwogICAgLy8g4LiE4LmI4Liy4LmA4LiJ4Lil4Li14LmI4Lii4LiW4LmI4Lin4LiH4LiZ4LmJ4Liz4Lir4LiZ4Lix4LiBCiAgICBNRURJQSA9IChBICogMiArIEIgKiAzICsgQyAqIDUpIC8gMTA7CiAgICAvLyDguJzguKXguKXguLHguJ7guJjguYwKICAgIHByaW50ZigiTUVESUEgPSAlLjFsZlxuIiwgTUVESUEpOwogICAgcmV0dXJuIDA7Cn0=