Lucy has $8$ children, each of whom has a distinct favorite integer from $1$ to $10$, inclusive. The smallest number that is a perfect multiple of all of these favorite numbers is $1260$, and the average of these favorite numbers is at most $5$. Find the sum of the four largest numbers.

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