K, N = map(int, input().split()) assert(N <= 100)