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:
7323 aggiunta 955 aggiunta 1027

Ex Output:
9305


Ex Input:
4750 aggiunta 5156 sottrazione 8025 aggiunta 7119 aggiunta 8417

Ex Output:

17417