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: 3010 sottrazione 94 aggiunta 9792 sottrazione 761 aggiunta 6406 sottrazione 2002 aggiunta 8845

Output: 25196


Input: Consider Input: 5586 aggiunta 826 aggiunta 2560

Output: 8972


Input: Consider Input: 14 aggiunta 8438 aggiunta 8595


Output: 17047