Find two numbers made up of a given digit such that their difference is divisible by N
Given two numbers, N and M, the task is to find two numbers made up of M as all its digits such that their difference is divisible by N. Examples: Input: N = 8, M = 2 Output: 22 222 Explanation: The difference between 222 and 22 (200) is divisible by 8Input: N = 17, M = 6 Output: 6 66666666666666666