Learning the Math Pentathlon Program