Problem C: 总分和平均分

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:274 Solved:56

Description

期末考试成绩出来了,小明同学语文、数学、英语分别考了x、y、z 分,请编程帮助小明计算一下,他的总分和平均分分别考了多少分?

Input

三个整数x、y、z 分别代表小明三科考试的成绩。

Output

第 1 行有一个整数,代表总分。

第 2 行有一个小数(保留 1 位小数)代表平均分。

Sample Input Copy

100 95 91

Sample Output Copy

286
95.3