Suppose that three out of five voters support a candidate. If 1,240 voters support the candidate, how many voters participated in the election in all? Round your answer to the nearest whole number.