Find the smallest positive integer N such that N &\equiv 2 \pmod{5}, \\ N &\equiv 2 \pmod{7}.
The value of N is 37