Input: If it, I've lost $500.
Output: 0