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: 9187 sottrazione 5498 aggiunta 9547

Output: 13236


Input: Consider Input: 2299 sottrazione 8268 sottrazione 5470

Output: -11439


Input: Consider Input: 417 sottrazione 4205 sottrazione 1643 aggiunta 8658


Output: 3227