Solving the problem...for 5 numbers
Mapping all numbers to str
Unoptimized solution