Run ID:87173

提交时间:2024-08-04 15:23:26

b = int(input()) a = list(map(int, input().split())) c = 0 for i in a: if i != max(a): c = i + c print(c)