Find the maximum value of an integer $B$ such that for every 9 distinct natural numbers with the sum of $2023$, there must exist a sum of 4 of these numbers that is greater than or equal to $B$.

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