LearnPy Hub
← Input problems
Medium

Name and Marks

One line contains a name followed by three marks. Print the name and the average of the marks with 1 decimal: NAME: AVG.

Input

One line: name m1 m2 m3.

Output

One line.

Sample 1

Input
Mim 80 90 100
Output
Mim: 90.0

Sample 2

Input
Rafi 50 60 61
Output
Rafi: 57.0
solution.py
Output appears here
Name and Marks · Python practice problem · LearnPy Hub