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:
3055 sottrazione 6506 aggiunta 7787

Ex Output:
4336


Ex Input:
7417 aggiunta 6996 aggiunta 2053 aggiunta 2201

Ex Output:

18667