At a meeting, each person is familiar with 22 people. If two persons $A$ and $B$ know each other, among the remaining people, they do not have a common friend. For each pair of individuals $A$ and $B$ who are not familiar with each other, there are six common acquaintances among the remaining people. How many people were at the meeting?

Let's think step by step and output the final answer within \boxed{}.
user