A New Characterization of the Mathieu Groups and Alternating Groups with Degrees Primes