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:
958 aggiunta 4766 sottrazione 9988 sottrazione 5295 aggiunta 3809

Ex Output:
-5750


Ex Input:
4330 aggiunta 350 aggiunta 2584

Ex Output:
7264


Ex Input:
2811 sottrazione 2641 sottrazione 7111

Ex Output:

-6941