Ming-Tian Yang's submission of Lucas Theorem | CodeChef