Let  \[A=111111\]and  \[B=142857\]Find a positive integer $N$ with six or fewer digits such that $N$ is the multiplicative inverse of $AB$ modulo 1,000,000.

Let's think step by step and output the final answer within \boxed{}.
user