Job Expenses

This commit is contained in:
2023-07-03 13:18:54 +02:00
parent 7973279c5e
commit fee7f6a8e1

4
jobexpenses.py Normal file
View File

@@ -0,0 +1,4 @@
n = int(input())
k = map(int, input().split())
k = [abs(i) for i in k if i < 0]
print(sum(k))