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:
9932 aggiunta 2888 sottrazione 6742

Ex Output:
6078


Ex Input:
9284 sottrazione 3064 aggiunta 3418 aggiunta 2802

Ex Output:
12440


Ex Input:
9103 aggiunta 6464 aggiunta 3376 aggiunta 5631 aggiunta 9217

Ex Output:

33791