n,k=gets.split.map(&:to_i) M=10**9 r=[] (n-k-2).times{|i| if i%2==0 r<