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

Example input: 10 sottrazione 7
Example output: 3
Example explanation: Here, 'sottrazione' represents the subtraction operation. So, the answer is 3 (10-7=3).
Q: 4787 sottrazione 6047 aggiunta 165 sottrazione 5334 aggiunta 981 sottrazione 3048 sottrazione 9391 aggiunta 6906
A:
-10981
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'.

Example input: 10 sottrazione 7
Example output: 3
Example explanation: Here, 'sottrazione' represents the subtraction operation. So, the answer is 3 (10-7=3).
Q: 4787 sottrazione 6047 aggiunta 165 sottrazione 5334 aggiunta 981 sottrazione 3048 sottrazione 9391 aggiunta 6906
A:
user
-10981
assistant
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'.

Example input: 10 sottrazione 7
Example output: 3
Example explanation: Here, 'sottrazione' represents the subtraction operation. So, the answer is 3 (10-7=3).
Q: 4787 sottrazione 6047 aggiunta 165 sottrazione 5334 aggiunta 981 sottrazione 3048 sottrazione 9391 aggiunta 6906
A:
-10981