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:
1730 aggiunta 4796 sottrazione 9948

Ex Output:
-3422


Ex Input:
4330 aggiunta 350 aggiunta 2584

Ex Output:
7264


Ex Input:
159 sottrazione 6892 aggiunta 4746

Ex Output:

-1987