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:
1730 aggiunta 4796 sottrazione 9948

Ex Output:
-3422


Ex Input:
2850 aggiunta 9660 sottrazione 8692 aggiunta 226

Ex Output:
4044


Ex Input:
6313 aggiunta 3858 aggiunta 5437 aggiunta 3363 sottrazione 5985

Ex Output:

12986