Teacher Zhang distributed 8 different books to two children, Xiaohong and Xiaoming, and each of them got at least one book. How many different ways are there in total?
张老师把8本不同的书分给小红和小明两个小朋友，每人至少得一本书，不同的分得方法一共有多少种？
<gadget id="calculator">8 + 28 + 56 + 70 + 56 + 28 + 8</gadget>
<output>254</output>

<result>254</result>