This problem is deceivingly complicated, so let's take it step and step. Let's use a simple number, like 123 for now.

First, let's convert 123 to a string type to start our operation.

TEXT
OUTPUT
Results will appear here.