add C1198 solution with python