Problem Description
55Input 2:
2
110Output 2:
10
110 is the smallest integer which is divisible by 55 and contains 0 and 1 onlyExplanation 2:
10 is the smallest integer which is divisible by 2 and contains 0 and 1 only
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.