A beam consisting of four types of ions A