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: 2172 aggiunta 1784 aggiunta 7939

Output: 11895


Input: Consider Input: 8844 sottrazione 1316 aggiunta 3098

Output: 10626


Input: Consider Input: 5474 aggiunta 8620 sottrazione 6713


Output: 7381