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: 9483 sottrazione 8559 sottrazione 233

Output: 691


Input: Consider Input: 2642 aggiunta 6158 aggiunta 8247

Output: 17047


Input: Consider Input: 7283 sottrazione 3138 sottrazione 2417 sottrazione 1175 aggiunta 6946 aggiunta 5454


Output: 12953