Three resistors which are connected in parallel draw a total current of 12 A from a source. The voltage drop across the first resistor is 12 V, the value of the second resistor is 2 ohm and the power dissipated across the third resistor is 24 W. Find the values of the first and the third resistances.