j, m, s = map(int, input().split(",")) total = j+m+s average = round(total/3, 2) print(f"合計点:{total}") print(f"平均点:{average}")