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: 1011 sottrazione 4477 sottrazione 7093 aggiunta 5299

Output: -5260


Input: Consider Input: 350 aggiunta 3392 sottrazione 542

Output: 3200


Input: Consider Input: 7034 sottrazione 5982 aggiunta 1087


Output: 2139