Run ID:154140

提交时间:2026-05-24 15:32:06

input() a= list(map(int,input().split())) maxn = max(a) s = 0 for x in a: if x != maxn: s += x print(s)