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:
2850 aggiunta 9660 sottrazione 8692 aggiunta 226

Ex Output:
4044


Ex Input:
1925 sottrazione 6588 sottrazione 8668

Ex Output:
-13331


Ex Input:
208 aggiunta 1087 sottrazione 214 sottrazione 1608

Ex Output:

-527