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:
9483 sottrazione 8559 sottrazione 233

Ex Output:
691


Ex Input:
4986 aggiunta 8653 sottrazione 9809

Ex Output:
3830


Ex Input:
1108 sottrazione 724 sottrazione 7929 aggiunta 7225 aggiunta 6336

Ex Output:

6016