As written, the problem is impossible. Imagine person 'A' as he cycles through these 5-person teams: each time he meets 4 new people, and the objective is for him to ultimately meet a total of 49 people with no repeats. This can't happen, because 49 is not divisible by 4; therefore in order for him to meet all 49 it will require him to be included in at least 13 sets of teams and there must be at least 3 repeats.