a, b, c = map(int, input().split(",")) sm = a + b + c avg = sm / 3 print("合計点:{}".format(sm)) print("平均点:{:.1f}".format(avg))