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'.

Input: Consider Input: 8897 sottrazione 6018 aggiunta 1120 aggiunta 6392 aggiunta 5844

Output: 16235


Input: Consider Input: 5653 aggiunta 1971 aggiunta 1922 aggiunta 4170

Output: 13716


Input: Consider Input: 3536 aggiunta 6721 sottrazione 6145 sottrazione 5083


Output: -971