Under the onslaught of the College Algebra second period class, a pile of homework problems decreased exponentially. It decreased from 1400 to 1000 problems in only 25 minutes. How long would it take until only 500 problems remained?