You will be given a definition of a task first, then some input of the task.
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'.

1581 aggiunta 9357 aggiunta 4585 sottrazione 2281 aggiunta 6432 aggiunta 7886 sottrazione 8707 sottrazione 1112
Output:
17741