order = ["A", "B", "C"]
nums = list(map(int,input().split()))
max = max(nums)
min = min(nums)
mid = sum(nums) - max - min
if mid + min > max:
print(order[nums.index(mid)])
else:
print(order[nums.index(max)])