Elaine had 5 buttons and her grandmother donated 5 cards of buttons to the collections. Elaine sorted the buttons into 5 piles, putting 8 buttons in each pile. How many buttons were on each card from Elaine's grandmother?