2 wrong answer in linked kist k append

check for this
5
1 3 5 7 9
6
make k=k%n