Originally Posted by Philip M
You code gives cardinal numbers, so not a correct solution.
I think the op can decide for him/her self if the example I posted is correct, useful or whatever to them. I doubt they need you to decide for them
You can create ordinal numbers without an array.