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: 1385 aggiunta 8742 aggiunta 6344 sottrazione 5893

Output: 10578


Input: Consider Input: 5226 sottrazione 2544 sottrazione 3894 aggiunta 7577

Output: 6365


Input: Consider Input: 2093 aggiunta 6979 aggiunta 8891 sottrazione 2563


Output: 15400