#include <algorithm>
#include <iterator>
#include <iostream>
#include <climits>
int main()
{
int maxv = std::numeric_limits<int>::min();
int high_index;
int curIndex = 1;
std::for_each(std::istream_iterator<int>{std::cin},
std::istream_iterator<int>{}, [&](int n)
{
if (maxv < n)
{
high_index = curIndex;
maxv = n;
}
++curIndex;
});
std::cout << "Highest index: " << high_index;
}
ICAgICNpbmNsdWRlIDxhbGdvcml0aG0+CiAgICAjaW5jbHVkZSA8aXRlcmF0b3I+CiAgICAjaW5jbHVkZSA8aW9zdHJlYW0+CiAgICAjaW5jbHVkZSA8Y2xpbWl0cz4KICAgIAogICAgaW50IG1haW4oKQogICAgewogICAgCWludCBtYXh2ID0gc3RkOjpudW1lcmljX2xpbWl0czxpbnQ+OjptaW4oKTsKICAgIAlpbnQgaGlnaF9pbmRleDsKICAgIAlpbnQgY3VySW5kZXggPSAxOwogICAgCXN0ZDo6Zm9yX2VhY2goc3RkOjppc3RyZWFtX2l0ZXJhdG9yPGludD57c3RkOjpjaW59LCAKICAgIAkgICAgICAgICAgICAgIHN0ZDo6aXN0cmVhbV9pdGVyYXRvcjxpbnQ+e30sIFsmXShpbnQgbikgCiAgICAJICAgICAgICAgICAgICB7IAoJCQkgICAgCQlpZiAobWF4diA8IG4pCgkJCSAgICAJCXsKCQkJICAgIAkJCWhpZ2hfaW5kZXggPSBjdXJJbmRleDsKCQkJICAgIAkJCW1heHYgPSBuOwoJCQkgICAgCQl9CgkJCSAgICAJCSsrY3VySW5kZXg7IAoJCQkgICAgCX0pOwogICAgCXN0ZDo6Y291dCA8PCAiSGlnaGVzdCBpbmRleDogIiA8PCBoaWdoX2luZGV4OwogICAgfQoK