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:
1614 aggiunta 8022 aggiunta 2830 aggiunta 4516

Ex Output:
16982


Ex Input:
2901 sottrazione 1879 sottrazione 5308

Ex Output:
-4286


Ex Input:
9187 sottrazione 5498 aggiunta 9547

Ex Output:

13236