how do baseball magic numbers work