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