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: 7961 aggiunta 5722 aggiunta 1767 aggiunta 435 aggiunta 5587 sottrazione 1159

Output: 20313


Input: Consider Input: 6549 aggiunta 8683 aggiunta 5430

Output: 20662


Input: Consider Input: 7502 sottrazione 5856 aggiunta 6195


Output: 7841