1112: 【基础题】分数计算工具进阶版本

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:20 Solved:6

Description

请你在计算四门课总分的基础上,为程序增加一个计算平均分的功能。

Input

输入为四行,均为整数,代表语文、数学、英语、科学的分数

Output

一行,计算出四门分数的平均值,结果保留一位小数并四舍五入。

Sample Input Copy

90
80
90
80

Sample Output Copy

85.0