case 3 failed: expected 14 18 got 8 18 input: 7 2 1 3 2 4 2 5 4 6 5 7 1 5 2 5 5 4 2 2 5 1 6 2 2 7 5 8 1 1 1 1 2 exit status 1