#include<stdio.h>intmain(){double A, B, C, media;scanf("%lf\n%lf\n%lf",&A,&B,&C); media = (2* A +3* B +5* C)/10.0;printf("MEDIA = %.1lf\n", media);return0;}
#include<iostream>#include<iomanip>usingnamespace std;intmain(){double A, B, C, media; cin >> A >> B >> C; media = (2* A +3* B +5* C)/10.0; cout <<"MEDIA = "<<setprecision(1) << fixed << media << endl;return0;}
let input =require("fs").readFileSync("/dev/stdin","utf8");let lines =input.split("\n");letA=parseFloat(lines.shift());letB=parseFloat(lines.shift());letC=parseFloat(lines.shift());let media = (2*A+3*B+5*C) /10;console.log(`MEDIA = ${media.toFixed(1)}`);
A =float(input())B =float(input())C =float(input())media = (2* A +3* B +5* C) /10print(f"MEDIA = {media:.1f}")