Find the number of solutions to N &\equiv 2 \pmod{6}, \\ N &\equiv 2 \pmod{7}, \\ N &\equiv 2 \pmod{8} in the interval 0 \le N < 1000.