Chinese Remainder Theorem Madewell