nota1 = float(input()) nota2 = float(input()) nota3 = float(input()) media = (nota1*2 + nota2*3 + nota3*5) / (2 + 3 + 5) print(f"MEDIA = {mdia}")