Tiancheng Lou's submission of ForbiddenSum | CodeChef