I'm not sure I understand your question.
You need to print the index of the highest of the mountain.
i represents the index of the mountain i
You just have to find which mountain i is the highest so you can store the value in 'maxi' and then print it.
Is it more clear?