A heat pump (H.P.) is driven by the work output of a heat engine (H.E.) as shown in the figure. The heat engine extracts 150 kJ of heat from the source at 1000 K. The heat pump absorbs heat from the ambient at 280 K and delivers heat to the room which is maintained at 300 K. Considering the combined system to be ideal, the total amount of heat delivered to the room together by the heat engine and heat pump is _____kJ (answer in integer).