A certain class subscribes to "Exploration" and "Wisdom" magazines in four ways: only "Exploration", only "Wisdom", both, and neither. If there are 12 people who subscribed to "Exploration" and 20 people who subscribed to "Wisdom", and the number of people who subscribed to both is 6 times the number of people who subscribed to neither, then how many people are there at most in this class?
某班订阅《探索》和《智慧》杂志的情况有四类，只订《探索》，只订《智慧》，两种都订，两种都不订．若订《探索》的有12人，订《智慧》的有20人，两种都订的人数是两种都没定的人数的6倍，那么这个班至多有多少人？
<gadget id="calculator">12 - 6</gadget>
<output>6</output>

<gadget id="calculator">20 + 6 + 1</gadget>
<output>27</output>

<result>27</result>