I gradually iterate over the input and create an array of them I try to add a number to the first line to get to a two-digit number and to gradually add a value in the next line