let num = parseInt(readline()); let str = readline().split(" ").map(Number); let arr = [], s = 0, count = 0; str.sort((a, b) => a - b); for (let i = 0; i < num - 1; i++) { if (str[i + 1] - str[i] > 1) { let tem = i + 1 - s-count; arr.push(tem === 2||tem === 3 ? 1 : tem); s = i+1; } else if ...