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: 7109 aggiunta 4517 sottrazione 2338 sottrazione 2797 aggiunta 896 sottrazione 3050 sottrazione 3079

Output: 1258

Input: Consider Input: 9301 aggiunta 6607 aggiunta 4322

Output: 20230

Input: Consider Input: 6273 sottrazione 7427 aggiunta 3960
Output: 2806