There is a piece of candy a, if it is distributed to 9 children, there will be 8 pieces left; if it is distributed to 11 children, 1 piece will be owed; if it is distributed to 3 children, 2 pieces will be left; what is the minimum number of a?
有糖果a粒，若分给9个小孩，则余8粒；若分给11个小孩，则欠1粒；若分给3个小孩，则余2粒；问a最少是多少？
<gadget id="calculator">99 - 1</gadget>
<output>98</output>

<result>98</result>