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: 5001 sottrazione 931 sottrazione 6554 aggiunta 4767 sottrazione 7802 aggiunta 6819 sottrazione 7518

Output: -6218


Input: Consider Input: 8268 aggiunta 585 aggiunta 3530

Output: 12383


Input: Consider Input: 9531 aggiunta 1479 sottrazione 6788


Output: 4222