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: 9932 aggiunta 2888 sottrazione 6742

Output: 6078


Input: Consider Input: 8978 aggiunta 5458 sottrazione 4347 aggiunta 6270 sottrazione 1786


Output: 14573