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:
4597 aggiunta 5805 sottrazione 43 aggiunta 8102

Ex Output:
18461


Ex Input:
958 aggiunta 4766 sottrazione 9988 sottrazione 5295 aggiunta 3809

Ex Output:
-5750


Ex Input:
9438 sottrazione 3057 aggiunta 1823

Ex Output:

8204