A hiker carried 1 gallon of water on a hike. She drank 1/2 of the water when she stopped to rest and gave an equal amount of the remaining water to each of 4 friends. What fraction of the 1 gallon of water did each friend receive?