You can simply replace the i in friends[i] with a number.
i
friends[i]
Read this post from another thread of yours.