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: 4330 aggiunta 350 aggiunta 2584

Output: 7264


Input: Consider Input: 9858 aggiunta 4630 aggiunta 208 aggiunta 9802 sottrazione 3989

Output: 20509


Input: Consider Input: 7544 aggiunta 6121 aggiunta 8145


Output: 21810