結果 : how to take scanner input for array in java