Intro

Today, I have begin the series of solving first 40 problems of URI Online Judge Beginner in python 3. This is problem number 1005 and 5th post of this series. Let's dig in.

Description

Problem URL: https://www.urionlinejudge.com.br/judge/en/problems/view/1005

Input

The input file contains 2 floating points' values with one digit after the decimal point.

Output

Print the message "MEDIA"(average in Portuguese) and the student's average according to the following example, with 5 digits after the decimal point and with a blank space before and after the equal signal.

Samples Input

5.0
7.1

0.0
7.1

10.0
10.0

Samples Output

MEDIA = 6.43182
MEDIA = 4.84091
MEDIA = 10.00000

*Note: Please always check the sample output how it's given, or you will get "Presentation Error", pretty annoying.

Understanding Problem

Get input and multiple by there weight and find out summation after that divided by there weight summation.