Spadework 2020. 3. 15. 22:30

* Solved 기준 브론즈2 단순 풀이

input(); l = list(map(int, input().split()))
print(sum(l)-max(l))