Run ID:84532

提交时间:2024-07-16 09:53:52

n = int(input()) a = list(map(int,input().split())) res = sum(a) - min(a) print(res)