They spent as many hours as they could ___ their lessons.