結果 : how to get input for arraylist in java