4. In two groups, there is an equal number of students. Each student studies at least one language: English or French. It is known that 5 people in the first group and 5 in the second group study both languages. The number of students studying French in the first group is three times less than in the second group. The number of students studying English in the second group is four times less than in the first group. What is the minimum possible number of students in one group?