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:
1011 sottrazione 4477 sottrazione 7093 aggiunta 5299

Ex Output:
-5260


Ex Input:
3256 sottrazione 5464 sottrazione 5786

Ex Output:
-7994


Ex Input:
2276 sottrazione 1146 sottrazione 1050 sottrazione 9353

Ex Output:

-9273