#include <iostream>
using namespace std;

int main() {
	int x, y;
	cin >> x >> y;
	if ( (y <= 7) && (y >= 1) && (y - 2*x <= 15) && (y + 2*x <= 15))
	{cout << "Принадлежит";}
		else {cout << "Не принадлежит";}
	return 0;
}