A window air conditioner consumes 1.4 kW of electricity when running and has a coefficient of performance of 3. It is placed in the middle of a room and plugged in. What is the rate of cooling or heating this air conditioner will provide to the air in the room when running?