def ascan; gets.split.map(&:to_i);end N,K = ascan L = ascan L.each do |l| puts "1 #{l} 1 1" end