A machine utilizes 1000 J of energy every second; it will consume 1 kWh of energy if it is used continuously for one hour. What will be the energy consumed in 10 hours by a device of 500 W of power?