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'.

Example Input: 6453 aggiunta 8732 sottrazione 2877
Example Output: 12308

Example Input: 7629 aggiunta 3502 aggiunta 4924 sottrazione 9731 aggiunta 4886 aggiunta 2298 aggiunta 3971
Example Output: 17479

Example Input: 7044 aggiunta 2476 sottrazione 4250
Example Output:
5270