Latin, and an early start in math
I started learning Latin in middle school and never really stopped. Around the same time, NCSU and UNC let me sidestep the usual rules to take math classes well above my grade — first in elementary and middle school, then through high school.
I'm genuinely grateful to both for bending those rules. Being handed real mathematics early, before I knew what was supposed to be hard, shaped everything that came after.