put elements in the index whose value is 1 less than element