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

Ex Input:
9424 aggiunta 2739 aggiunta 3840 sottrazione 2150

Ex Output:
13853


Ex Input:
2363 aggiunta 6410 aggiunta 2443

Ex Output:
11216


Ex Input:
7220 aggiunta 1784 sottrazione 4644 aggiunta 5499 aggiunta 7820

Ex Output:

17679