Problem: You are given two positive integers and . Find minimal positive integer which is divisible by and has sum of digits equal to .
Input Format: The first line contains two positive integers and () separated by space.
Output Format: Print the required number or -1 if it doesn't exist.