The 40-legged centipede and the 3-headed dragon are in the same cage, and there are 26 heads and 298 feet in total. If the 40-legged centipede has 1 head, how many legs does the 3-headed dragon have.
40只脚的蜈蚣与3个头的龙同在一个笼子中，共有26个头和298只脚，若40只脚的蜈蚣有1个头，那么3个头的龙有多少只脚．
<result>14</result>