Add a break here, one we have matched answer, we should exit the for loop