Let be a variable initially equals to . Simulate the next operations with this variable:
add : add value to ;
subtract : subtract value from ;
multiply : multiply by ;
Each line contains operation and value. Process all given operations. The value of the variable after each operation doen not exceed by absolute value.
Print the resulting value of .