Case 1: 0 Case 2: 10