Water flows into a 25-liter bucket through a hose and out through a hole in the bottom of the bucket. The rate of flow through the hose is 1 liter per minute. If the bucket is filled to capacity in 40 minutes, at what rate, in liters per minute, was water flowing out of the bucket through the hole?