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:
8717 aggiunta 5166 aggiunta 6954 sottrazione 7537 sottrazione 5251

Ex Output:
8049


Ex Input:
6761 aggiunta 9552 aggiunta 7279

Ex Output:
23592


Ex Input:
2437 aggiunta 2795 aggiunta 7577

Ex Output:

12809