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