結果 : modular arithmetic python