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