Please tell me how to access the random elemnt in list as we do in array by a[i]