//121 function getSymmetryNum(n) { for(let i = 0; i < n; i++) { let result = 0 while(i > 0) { result = result * 10 + i % 10 i = parseInt(i / 10) } console.log(result) } } getSymmetryNum(100)