of the candidates who sat for the international mathematics exam, 18% obtained an A grade, 38% got a B grade, and the rest received a C grade. Given that 77 candidates obtained grade C find the total number of candidates who sat for the examination