#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;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgeCwgeTsKCWNpbiA+PiB4ID4+IHk7CglpZiAoICh5IDw9IDcpICYmICh5ID49IDEpICYmICh5IC0gMip4IDw9IDE1KSAmJiAoeSArIDIqeCA8PSAxNSkpCgl7Y291dCA8PCAi0J/RgNC40L3QsNC00LvQtdC20LjRgiI7fQoJCWVsc2Uge2NvdXQgPDwgItCd0LUg0L/RgNC40L3QsNC00LvQtdC20LjRgiI7fQoJcmV0dXJuIDA7Cn0=