kmrr=[2,1] n,k=gets.split.map &:to_i (n-k-2).times{|_| kmrr << (kmrr[-2]