n,k=gets.chomp.split.map{|e| e.to_i} if k==0||n