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: 5226 sottrazione 2544 sottrazione 3894 aggiunta 7577

Output: 6365


Input: Consider Input: 9171 aggiunta 4946 aggiunta 4489 sottrazione 6499 aggiunta 9704

Output: 21811


Input: Consider Input: 8574 sottrazione 7644 aggiunta 2551 sottrazione 6697


Output: -3216