1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#include "bits/stdc++.h"
using namespace std;

int n, k;

int main()
{
	scanf("%d%d", &n, &k);
	int xxx = 1 << (n - 1);
	if(xxx * 3 < k){
		printf("NIE\n");
		return 0;
	}
}