//(c)Terminator
#include <iostream>
using namespace std;



bool isIncludedAtoB(const int* a, unsigned n1, 
			        const int* b, unsigned n2){
	const int* p1, *p2;
	const int* e1 = a + n1;
	const int* e2 = b + n2;

	for(; b != e2; ++b){
		
		p1 = a;
		p2 = b;
		while((p1 != e1) && (p2 != e2)){
			if(*p1 != *p2)
				break;
			++p1;
			++p2;
		}

		if(p1 == e1)
			return true;
	}
	return false;
}



int main(void){
	int a[]  = { 1, 0, 1, 1 };
	int b[]  = { 0, 1, 0, 1, 1, 0 };

	bool ret = isIncludedAtoB(a, sizeof(a)/sizeof(a[0]),
		                      b, sizeof(b)/sizeof(b[0]));
	(ret) ? 
		cout << "Yes included a to b." << endl
	:
		cout << "Not !!!" << endl;
	return 0;
}