In a circuit shown in figure, the heat produced in 3 ohm resistor due to a current flowing in it is 12J. The heat produced in 4 ohm resistor is