a = int(input("请输入语文成绩："))
b = int(input("请输入数学成绩："))
c = int(input("请输入英语成绩："))
sum = a + b + c
ave = sum / 3
d = 0.5 * a + 0.3 * b + 0.2 * c
print("小明成绩的和为", sum)
print("小明的平均分为", ave)
print("小明的最高分为", max(a, b, c))
print("小明的最低分为", min(a, b, c))
print("小明的最终成绩是", d)
PI = 1
print(PI)
