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: 350 aggiunta 3392 sottrazione 542
Example Output: 3200

Example Input: 867 aggiunta 9436 sottrazione 975 sottrazione 1099 sottrazione 4586
Example Output: 3643

Example Input: 8723 aggiunta 6670 sottrazione 9461
Example Output:
5932