After the city water treatment plant processes 391 million gallons of water during the day and an additional 176 million gallons at night, the nearby factory requests that an additional 303 million gallons be processed for their industrial needs. How many total gallons of water will the plant need to process to meet all these requirements?