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: 4013 aggiunta 6407 aggiunta 4038

Output: 14458


Input: Consider Input: 3420 aggiunta 4648 sottrazione 9951

Output: -1883


Input: Consider Input: 4973 aggiunta 4717 aggiunta 854 sottrazione 7268 sottrazione 5442 sottrazione 5777 sottrazione 7361


Output: -15304