Cheese, egg and beef sandwiches were made for a picnic in a ratio of 5 to 7 to 8. If a total of 120 sandwiches were made, how many egg sandwiches were made ?