There are 27 basketballs and volleyballs. If 3 basketballs are replaced with volleyballs and 5 basketballs are put into storage, the number of volleyballs will be 1 times more than the number of basketballs. Ask: How many basketballs are there?
有篮球、排球共27个，若将3个篮球换成排球，再将5个篮球入库，则排球数比篮球数得2倍多1，问：原有篮球多少个？
<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<gadget id="calculator">5 * 2</gadget>
<output>10</output>

<gadget id="calculator">3 - 1</gadget>
<output>2</output>

<gadget id="calculator">6 + 10 + 27 + 2</gadget>
<output>45</output>

<gadget id="calculator">2 + 1</gadget>
<output>3</output>

<gadget id="calculator">45 / 3</gadget>
<output>15</output>

<result>15</result>