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'.

2497 aggiunta 5061 aggiunta 1806 sottrazione 912 sottrazione 7808 aggiunta 9629 aggiunta 7221
Output:
17494