<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def crt(self, mp, mq):
 """The Chinese Remainder Theorem as needed for decryption. Returns the solution modulo n=pq. Args: mp(int):
 the solution modulo p. mq(int):
 the solution modulo q. """

        u = (mq - mp) * self.p_inverse % self.q
        return mp + (u * self.p)