Repunit is a natural number that contains only the digit 1 (for example, 1,11,111,1111,and so on.).
If natural number n and 10 are coprime, some repunit exists that is n's multiple.
For example, 111 is 3's multiple and repunit.111111 is 7's multiple and repunit.
Get the smallest repunit which is n's multiple. n is smaller than 10^8.
Single natural number n. n and 10 are coprime.