Julia has baked 50 cookies and wants to package them into boxes that can hold 8 cookies each. After filling as many boxes as possible, how many cookies will Julia have left over? Let's think step by step and output the final answer within \boxed{}.
user