結果 : modular arithmetic in python