CN01-

Difficulty- *Cakewalk*

Prerequisites:

*Ad-hoc*

**Problem** - You are given an initial amount and you have to add or subtract something from that amount and print the amount at the end.

**Explanation:**

The problem is based on simple mathematics. For a given input string which consists of consecutive characters representing Wins and Loss , for each character vary the amount according to the condition given.