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:
628 aggiunta 5908 sottrazione 3712 aggiunta 1100

Ex Output:
3924


Ex Input:
8268 aggiunta 585 aggiunta 3530

Ex Output:
12383


Ex Input:
4913 aggiunta 9200 aggiunta 7452 sottrazione 2799

Ex Output:

18766