Doubt in counting sort


it’s showing run-error , how to fix it??