A programmer at the North Pole was working at a computer, wearing gloves and could therefore type only and , Key got clogged. Will the programmer be able to type a minimum number, consisting of only ones and at the same time a multiple of the given number ?
One number .
Print the desired number or "no" if such number does not exist.