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:
1866 sottrazione 7193 aggiunta 155 sottrazione 6195 aggiunta 482

Ex Output:
-10885


Ex Input:
8268 aggiunta 585 aggiunta 3530

Ex Output:
12383


Ex Input:
4108 aggiunta 5211 sottrazione 6839 sottrazione 6027

Ex Output:

-3547