Using $600$ cards, where $200$ of them have the number $5$, $200$ have the number $2$, and the other $200$ have the number $1$, a student wants to create groups of cards such that the sum of the card numbers in each group is $9$. What is the maximum number of groups that the student can create?

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