The bane of soldiers: Help needed

You can simply replace the i in friends[i] with a number.

Read this post from another thread of yours.