#include <stdio.h>
int main() {
double 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+CmludCBtYWluKCkgewogICAgZG91YmxlIEEsIEIsIEMsIE1FRElBOwogICAgLy8g4LiE4Liw4LmB4LiZ4LiZ4LiI4Liy4LiB4Lic4Li54LmJ4LmD4LiK4LmJCiAgICBzY2FuZigiJWxmICVsZiAlbGYiLCAmQSwgJkIsICZDKTsKICAgIC8vIOC4hOC5iOC4suC5gOC4ieC4peC4teC5iOC4ouC4luC5iOC4p+C4h+C4meC5ieC4s+C4q+C4meC4seC4gQogICAgTUVESUEgPSAoQSAqIDIgKyBCICogMyArIEMgKiA1KSAvIDEwOwogICAgLy8g4Lic4Lil4Lil4Lix4Lie4LiY4LmMCiAgICBwcmludGYoIk1FRElBID0gJS4xbGZcbiIsIE1FRElBKTsKICAgIHJldHVybiAwOwp9