A barrel of maple syrup weighs 20 kilograms. After pouring out half of the syrup, the barrel and the remaining syrup weigh a total of 12 kilograms. If the selling price of the syrup is $10 per kilogram, how much can the remaining syrup be sold for? Let's think step by step and output the final answer within \boxed{}.
user