Ion acceleration at two collisionless shocks in a multicomponent plasma.