Teresa is maintaining a camp fire. She can keep the fire burning for 4 hours with 6 logs. How many logs does Teresa need to maintain the fire for 18 hours?