Hi Amol,
You can have a field where you past the 4567 value and add an OnChange handler on that input.
On that OnChange screen action you can split the 4567 into the different values (4, 5, 6 and 7) and assign each value to the corresponding input variable.
Regards,
João