ans = [*1..6].product([*1..6]).shuffle 35.times do |i| d = gets.split.map(&:to_i) STDOUT.puts ans[i].join(' ') STDOUT.flush end