let map = {}; let rArr = readline().split(" "); rArr.shift(); let llArr = readline().split(" "); llArr.shift(); let lArr = [...new Set(llArr)].sort((a, b) => a - b); lArr.forEach((la) => { map[la] = {}; rArr.forEach((ra, index) => { if (ra.indexOf(la) > -1) { map[la][index] = ra; } }); }...