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:
2431 sottrazione 4910 aggiunta 3990

Ex Output:
1511


Ex Input:
6814 aggiunta 4958 aggiunta 2173

Ex Output:
13945


Ex Input:
1986 sottrazione 3277 aggiunta 5559 aggiunta 8239 sottrazione 9015

Ex Output:

3492