There are two barrels of oil, a total of 26 kilograms. After 2 kilograms of oil in the large barrel are used, the weight ratio of the remaining oil to the oil in the small barrel is 3:1. How many kilograms of oil was originally contained in the vat?
有大小两桶油共26千克，大桶的油用去2千克后，剩下的油与小桶内油的重量比是3：1．大桶原来装有多少千克油？
<gadget id="calculator">26 - 2</gadget>
<output>24</output>

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

<gadget id="calculator">3 / 4</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">24 * (3/4)</gadget>
<output>18</output>

<gadget id="calculator">18 + 2</gadget>
<output>20</output>

<result>20</result>