YES 0 5 4 3 1 2 1 3 4 5