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:
5586 aggiunta 826 aggiunta 2560

Ex Output:
8972


Ex Input:
7401 aggiunta 1797 sottrazione 1774

Ex Output:
7424


Ex Input:
2309 aggiunta 9587 aggiunta 7403

Ex Output:

19299