A city council organized a marathon race to promote good health. There were 3 times as many female participants as male participants in the marathon. If the total number of participants was 812, how many participants were male