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: 1840 aggiunta 9861 aggiunta 3076 sottrazione 4918 sottrazione 6831

Output: 3028


Input: Consider Input: 5551 sottrazione 9350 sottrazione 9245

Output: -13044


Input: Consider Input: 2940 aggiunta 4121 aggiunta 31


Output: 7092