Find the smallest and largest N-digit natural numbers whose digits sum to M.
The input consists of two integers N and M (1 \leq N \leq 100, 1 \leq M \leq 9N).
Output two N-digit numbers in ascending order.
Example 1