function read() { while(line = parseInt(readline())){ counter(line) } } function counter(n) { let sets = new Set() for(let i=0;i<n;i++) { let line = readline() sets.add(parseInt(line)) } let arr = Array.from(sets).sort((a,b)=>{ return a-...