I'd personally throw in something like geometry, which (at least when I took it back in my middle school days; maybe my experience was atypical) had a heavy emphasis on mathematical proofs, how they worked, why they were important, the differences between postulates and theorems, how to prove theorems, etc. Whereas most of my prior and future math courses (particularly algebra) ended up feeling like an endless barrage of busywork, geometry forced me to actually think about what I'm doing.