Max's submission of ForbiddenSum | CodeChef