Three numbers are given: a, b, c and an array of characters whose length is not more than 1000; It is necessary to go through all possible cases so that these three numbers constitute a given array of characters. These numbers are in order. Accordingly, a, b, c will also be arrays of characters.
For example: It is given 120234 Possible cases: a - 1 b - 20 c - 234. a - 1 b - 202 c - 34. a - 1 b - 2023 c - 4. a - 12 b - 0 c - 234. and so on.