2025-09-26 23:47:52 +09:00

3 lines
54 B
Python

N, K = map(int, input().split())
print(K//(2**(N-1)))