You have 8 identical sticks of length 5 inches and 4 identical sticks of length 7 inches. How many distinct ways can you combine these sticks end-to-end to form a total length of 50 inches? Let's think step by step and output the final answer within \boxed{}.
user