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:
5844 sottrazione 7386 aggiunta 5114

Ex Output:
3572


Ex Input:
2363 aggiunta 6410 aggiunta 2443

Ex Output:
11216


Ex Input:
4931 aggiunta 3612 sottrazione 7061 sottrazione 1627

Ex Output:

-145