#include <iostream>
using namespace std;
int main()
{
int const N = 18;
int array[N] = { 1,1,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 };
int i = 0, k = array[0];
while (k==array[i])
{
i++;
}
cout << endl << i << endl;
cin.get();//извлекает один символ и возвращает его целочисленный код
return 0;
}