A person commits a Class C misdemeanor if such person makes any bet or wager of money or other valuable thing upon any election.