Math contest problems and solutions