5 3 1 2 3 100 1000