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: 2431 sottrazione 4910 aggiunta 3990

Output: 1511


Input: Consider Input: 5743 aggiunta 7834 aggiunta 986 aggiunta 2853 aggiunta 8595 aggiunta 3177 sottrazione 4537

Output: 24651


Input: Consider Input: 4305 aggiunta 255 aggiunta 6552 sottrazione 3258


Output: 7854