Dai Yan's submission of Lucas Theorem | CodeChef