case 1 (sample-like) failed at test 2: expected 0 got 1 Input: 6 2 0 2 1 1 2 5 1 1 2 8 3 1 4 2 5 7 8 7 2 1 4 4 7 7 3 1 2 1 7 3 7