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: 2431 sottrazione 4910 aggiunta 3990

Output: 1511


Input: Consider Input: 4783 sottrazione 5704 aggiunta 5183 sottrazione 5583

Output: -1321


Input: Consider Input: 1853 aggiunta 904 sottrazione 7590 aggiunta 9679 aggiunta 7002


Output: 11848