Amy's grandmother gave her 3 identical chocolate chip cookies and 4 identical sugar cookies.  In how many different orders can Amy eat the cookies such that either she eats a chocolate chip cookie first, she eats a chocolate chip cookie last, or both?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Amy's grandmother gave her 3 identical chocolate chip cookies and 4 identical sugar cookies.  In how many different orders can Amy eat the cookies such that either she eats a chocolate chip cookie first, she eats a chocolate chip cookie last, or both?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
25
Amy's grandmother gave her 3 identical chocolate chip cookies and 4 identical sugar cookies.  In how many different orders can Amy eat the cookies such that either she eats a chocolate chip cookie first, she eats a chocolate chip cookie last, or both?
train