# yukicoder No.521 Cheeses and a Mousetrap 2020/01/28 n,k=map(int,input().split()) if not 0