#1541: answer AC


1655007-2@g.puiching.edu.mo (P6D18梁卓諾)

School : No School
ID : 2985
IP address : [192.168.120.33]
Last Login :
2024-11-06 14:34:39
a168. 簡易 棄保效應(改自a043) | From: [192.168.120.33] | Post Date : 2024-05-21 08:56

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)])

 
ZeroJudge Forum