j, m, b = input() print("合計点" + (j + m + b)) print("平均点" + (j + m + b) / 3)