Nick is exactly correct about the concept of tokens.
I would use console.next() to read the name token because console.next() returns a String. If you use console.next() to read an integer, the integer will be returned as a String ("5") not the integer 5.
Use console.next() to read the name, but console.nextInt() to read the first integer (representing the number of scores) and a loop (as Nick suggests) to read the remaining integer scores with console.nextInt().