Your code here is trying to put an array into s[0]. when your code is done, s will be [ [2], [5], [7] ], an array of arrays. But you want an array of numbers, [ 2, 5, 7 ]. You need to change your code, so in s[0] = [2];, the right half of that assignment should just be a number.
It’s easy to miss. I missed plenty of small things like this as I learned. The lesson is to pay very close attention to every small detail. And if something isn’t working, go over those small details again. This is an important skill for programmers.