function top5(room) {
const fTable = new Map();
[...room.name.replace(/-/g, "")].forEach((c) =>
AOC.addToFreqTable(fTable, c)
);
return [...fTable]
.sort(([c1, f1], [c2, f2]) =>
f2 === f1 ? c1.charCodeAt(0) - c2.charCodeAt(0) : f2 - f1
)
.slice(0, 5)
.map(([c, f]) => c)
.join("");
}