Job Expenses
This commit is contained in:
4
jobexpenses.py
Normal file
4
jobexpenses.py
Normal 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))
|
||||
Reference in New Issue
Block a user