wrong answer on test 2 input: 1 7 2 3 2 1 12 6 16 7 13 20 expected:YES 20 6 16 7 1 13 12 got:YES 20 6 13 12 1 16 7