Students participate in rope skipping competition, according to each group of 6 people or each group of 8 people for grouping, can be divided into several groups, participate in rope skipping competition at least how many people?

Students participate in rope skipping competition, according to each group of 6 people or each group of 8 people for grouping, can be divided into several groups, participate in rope skipping competition at least how many people?

Group x consists of six people and group y consists of eight people
6X=8Y
X:Y=4:3
Take the simplest comparison, get at least 24 people