How do you determine which atoms would have the greatest velocity if each atom had the same kinetic energy?

For example, between hydrogen, bromine, chlorine, and ammonia?