A bulb of power 40 W is used for 12.5 hrs each day for 30 days. Calculate the electrical energy consumed.