For Math& CS, AI, go for S or M. H works too, but M/S are slightly more respected in the tech world (in general).
For the current AI wave, M has the best startup and unicorn production so far, by a good margin.