j, m, b = map(int, input().split(',')) total = j + m + b average = (total * 10 // 3) / 10.0 print(f"合計点:{total}平均点:{average:.1f}")