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:
5844 aggiunta 6020 sottrazione 844 aggiunta 442 sottrazione 2504

Ex Output:
8958


Ex Input:
6993 aggiunta 4663 aggiunta 2079 aggiunta 4558

Ex Output:
18293


Ex Input:
7341 aggiunta 5746 sottrazione 5749

Ex Output:

7338