n pairs of comma-separated ints. Print sum for odd-numbered pairs, abs diff for even.
Write a complete program: read the input with input() and print the result with print().
input()
print()
Input
4 3,5 10,4 2,2 7,9
Output
8 6 4 2