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:
4013 aggiunta 6407 aggiunta 4038

Ex Output:
14458


Ex Input:
1093 sottrazione 5356 sottrazione 4948 sottrazione 7827

Ex Output:
-17038


Ex Input:
5533 sottrazione 1118 aggiunta 6892

Ex Output:

11307