In a certain test, a students gave wrong answers to at least i questions, where i=1,2,...,k. No student gave more than k wrong answers. The total number of wrong answers given is