Write a program to find all maximum substrings of digits.
Return only these substrings separated by spaces in their order.
Do not use regular expressions, just the simplest capabilities
of a programming language.

POINTS: 3
