Case #1: 1 1 1 Case #2: 2 1 0 Case #3: 5 0 4