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: 9858 aggiunta 4630 aggiunta 208 aggiunta 9802 sottrazione 3989

Output: 20509


Input: Consider Input: 6956 sottrazione 802 aggiunta 8573 aggiunta 4801

Output: 19528


Input: Consider Input: 6019 aggiunta 3769 aggiunta 6792 aggiunta 3778


Output: 20358