The three classes in the sixth grade subscribed to 25 kinds of magazines in total, of which class one subscribed to 15 kinds, class two to 16 kinds, class three to 14 kinds, class one and class two had the same 10 kinds, class two and class three There are 5 types of magazines that are the same, 6 types of magazines that are the same for class 1 and class 3, and how many types of magazines are subscribed for all three classes?
六年级三个班共订阅了25种杂志，其中一班订了15种，二班订了16种，三班订了14种，一班和二班相同的有10种，二班和三班相同的有5种，一班和三班相同的有6种，三个班都订的杂志有多少种．
<gadget id="calculator">25 - 24</gadget>
<output>1</output>

<result>1</result>