>>92
```python

import itertools

def calculate_probability():
total_cases = 0
favorable_cases = 0

# 0から99までの数字のリストを作成
numbers = list(range(100))

# 3枚の数字を選ぶ全ての組み合わせを列挙
for combination in itertools.combinations(numbers, 3):
# Aの積を計算する
product = combination[0] * combination[1] * combination[2]

# Bの残りの数字の和を計算する
remaining_numbers = [num for num in numbers if num not in combination]
total_sum = sum(remaining_numbers)

# A > B の場合、有利なケースとしてカウント
if product > total_sum:
favorable_cases += 1

total_cases += 1

# 確率を計算
probability = favorable_cases / total_cases
return probability

# 確率を計算して出力
print("A > B となる確率は:", calculate_probability())
```
結果
A > B となる確率は: 0.8872727272727273