The water output rate for the Pham family's sprinkler was 25 L. The water output rate for the Garcia family's sprinkler was 40 L per hour. The families used their sprinklers for a combined total of 65 hours, resulting in a total water output of 2000 L . How long was each sprinkler used?