# modular arithmetic question

know some rules for modular arithmetic expressions, for example,

1. $A+B=C\implies ((A\bmod M) + (B\bmod M))\bmod M = C\bmod M$.

-