Solve the following system of linear congruences x ≡ ai mod mi. The moduli mi must be relatively prime.

x =