I would like to use an array list for this task but have noticed that using the usual Integer.parseInt(reader.readLine()) changes a string into the primitive int instead of an Integer. How do you change it to an Integer? Thanks