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: 2665 aggiunta 5380 aggiunta 9972 sottrazione 3786 sottrazione 5021

Output: 9210


Input: Consider Input: 7879 aggiunta 5810 aggiunta 4807 sottrazione 7816

Output: 10680


Input: Consider Input: 5671 sottrazione 429 sottrazione 1700 aggiunta 6330


Output: 9872