#include <iostream>
#include <algorithm>

int main() {
	int myarray[6]{10, 4, 14, 84, 1, 3};
	
	if (std::find(std::begin(myarray), std::end(myarray), 1) != std::end(myarray))
		std::cout << "It exists";
	else
		std::cout << "It does not exist";
	return 0;
}