Case 1: 0 Case 2: 4 Case 3: 2 Case 4: 1