Find the least positive four-digit solution to the following system of congruences.
7x = 21 (mod 14)
2x + 18 = 16 (mod 9)