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: 7629 aggiunta 3502 aggiunta 4924 sottrazione 9731 aggiunta 4886 aggiunta 2298 aggiunta 3971

Output: 17479


Input: Consider Input: 4750 sottrazione 2132 aggiunta 706 sottrazione 5735


Output: -2411