1Fix the k treated as a counteasy · 8 minSorted index two is the third smallest, not the second.Acceptance criteria1.#out should show value 7.TaskHints 0/1Solution