結果 : how to turn user input into an array java