A person buys three items A, B, and C with 2014 yuan. Item A is 7 yuan each, item B is 6 yuan each, and item C is 5 yuan each. There are 300 items in total. There is at least one item of this kind, and how many different buying methods are there in total?
某人用2014元钱买了甲、乙、丙三种物品，甲种物品每个7元，乙种物品每个6元，丙种物品每个5元，三种物品一共有300个，而且每种物品至少有一个，不同的买法一共有多少种．
<result>42</result>