Answer
$Q_{in} = 710J$
Work Step by Step
The kitchen acts as a reservoir here. Thus, we need to find the $Q_{in}$ into the reservoir. The heat that is exhausted to the kitchen can be calculated as the following equation
$Q_{in} = Q_{out} + W $
Where $Q_{out} = 560 J$ where energy that is exhausted by the refrigerator to the kitchen. and $W = 150J$
$Q_{in} = 560 J + 150J $
$Q_{in} = 710J$