eval"N,K,*A="+`dd`.split*?, K.upto(N){A.combination(_1){|a|$*<