Betty collected 400 food packages for charity. She gave g packages to an orphanage, and distributed the rest equally among 4 charities. How many packages did each charity get?