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