\textbf{Problem 1.} There are less than $400$ marbles. If they are distributed among $3$ children, there is one left over. If they are distributed among $7$ children, there are 2 left over. Finally, if they are distributed among $5$ children, there are none left over. What is the largest number of marbles you have?

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