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

Ex Input:
4973 aggiunta 2155 aggiunta 4812 sottrazione 9446

Ex Output:
2494


Ex Input:
1370 sottrazione 7268 sottrazione 7735

Ex Output:
-13633


Ex Input:
5416 sottrazione 7969 aggiunta 8813

Ex Output:

6260