In that case loop through the input and get one digit at a time from a method that has uses a switch.