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: 9284 sottrazione 3064 aggiunta 3418 aggiunta 2802

Output: 12440


Input: Consider Input: 989 aggiunta 1879 aggiunta 5578

Output: 8446


Input: Consider Input: 1183 aggiunta 1235 sottrazione 8256 aggiunta 5511 aggiunta 7891 sottrazione 5162 sottrazione 7552


Output: -5150