Input is the number 25104, output is supposed to be 225555514444, therefore each number's count is the same as its value.
I've only found how to repeat the whole string but not elements within a string.
I don't even know where to start so can't include code.