Hadrons produced in association with Drell-Yan dimuons in π−p interactions and quantum numbers of quarks