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: 6476 aggiunta 7534 aggiunta 5876 aggiunta 9001 sottrazione 6304 sottrazione 1328

Output: 21255


Input: Consider Input: 7862 sottrazione 7858 sottrazione 3111

Output: -3107


Input: Consider Input: 4133 sottrazione 3636 aggiunta 4575 sottrazione 1022


Output: 4050