TASK DEFINITION: In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
PROBLEM: 9187 sottrazione 5498 aggiunta 9547

SOLUTION: 13236

PROBLEM: 6200 aggiunta 9179 aggiunta 4596 sottrazione 2098

SOLUTION: 17877

PROBLEM: 4689 sottrazione 3946 aggiunta 989 aggiunta 8954 sottrazione 6196 sottrazione 1984

SOLUTION:
2506