An engine can pump 30000L of water to a vertical height of 45 m in 10 minutes. Calculate the work done by the machine and its power.