let len; const tempArr = []; while ((len = readline())) { const reg = new RegExp(/[a-zA-Z]/); for (let i = 0; i < +len; i++) { let str = readline(); if (reg.test(str)) { tempArr.push(str); } } } function compare(a, b) { if (a > b) return true; else return false; } function exchange(arr, a, b) ...