5 lines
152 B
Python
5 lines
152 B
Python
# Wrong: adds absolute values, so only groups with negative numbers fail.
|
|
import sys
|
|
|
|
print(sum(abs(int(token)) for token in sys.stdin.read().split()))
|