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: 5912 aggiunta 8754 aggiunta 4209

Output: 18875


Input: Consider Input: 5305 aggiunta 8554 aggiunta 659 aggiunta 8151 aggiunta 1642

Output: 24311


Input: Consider Input: 8557 sottrazione 1148 aggiunta 7256 sottrazione 978 sottrazione 838


Output: 12849