Read this: https://www.baldengineer.com/arduino-multi-digit-integers.html
AFTER You get a number, you can assign it to an array element then increase the index by 1 and get the next numeric input.
There are lots of ways to do this, expect lots of different answers.
One can store the characters and convert to numeric after the inputs:
https://forum.arduino.cc/t/how-to-store-values-in-a-list-or-array/606820