Electoral votes from state name
Python 3, 137 bytes

lambda s:b"2F$&amp;#+*&amp;4#(#'*&amp;$++&amp;''0+)-/ &amp;)$# #(0*W% *&amp;4)$= ,   %.# = %#$"[sum(b'!!E$/!5.!!!&amp;#"!!1_&amp;!!$#&lt;!./'[ord(c)%32]-32for c in s)-4]-32


Although not required by the challenge, this accepts case-insensitive state names. I computed parts of this hash function with GPerf.