0 3 2 3 2 3 999999 1 2 3 2 1 999999 3 2 3 2 3 2 3 2 3 2 3 999999