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:
4783 sottrazione 5704 aggiunta 5183 sottrazione 5583

Ex Output:
-1321


Ex Input:
122 sottrazione 2221 aggiunta 4872

Ex Output:
2773


Ex Input:
6511 sottrazione 2233 aggiunta 9916

Ex Output:

14194