I tried automating scanner input for some code I made by making the scanner scan a string. The code scans some words, then I need to scan a number, to do so I used Integer
Integer