Weighted Course Average


Submit solution

Points: 100
Time limit: 2.0s
Memory limit: 256M

Author:
Problem types

Given oral, one-period, and final-exam scores \(M,T,F\), compute \((M+2T+3F)/6\).

Input

One line containing \(M,T,F\).

The input satisfies:

  • \(0 <= M, T, F <= 10\)

Output

Print Diem Mieng = Diem Mot Tiet = Diem Hoc Ky = Diem TB = followed by the average, formatted with at most six significant digits and no unnecessary trailing zeros.

Example

Input
10 10 10
Output
Diem Mieng = Diem Mot Tiet = Diem Hoc Ky = Diem TB = 10

Comments

There are no comments at the moment.