Polar ones
Easy
Execution time limit is 1 second
Runtime memory usage limit is 122.174 megabytes
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 ?
Input
One number .
Output
Print the desired number or "no" if such number does not exist.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 2K
Acceptance rate 19%