Code to extract high school courses