Xiao Ming has collected some stamps, 22% of which are Chinese stamps, and the rest are foreign stamps. There are 78 foreign stamps. How many stamps did Xiao Ming collect in total?
小明集了一些邮票，其中22%是中国邮票，其余的是外国邮票，外国邮票有78张．小明共集了多少张邮票？
<gadget id="calculator">22 / 100</gadget>
<output>11/50 = around 0.22</output>

<gadget id="calculator">1 - (11/50)</gadget>
<output>39/50 = around 0.78</output>

<gadget id="calculator">78 / (39/50)</gadget>
<output>100</output>

<result>100</result>