let a = [9,3,2,5,4,1,6,8,7,6,1,4,5,7,2,547,1,4,5,26,72,5,61,3,46,72,5,1,75,34,3,7,3,2,4,67,5,3,5,7,3,4,3,657,352,4,6,1,2,4,5,7,8,3,1];
let d = 0;
for (i = 0; i < a.length; i++){
for (k=0; k < a.length-1; k++){
a[i] > a[i+1] ? (d = a[i+1], a[i+1] = a[i], a[i] = d) : d;
}}
console.log(new Set(a));