Let p be the number of posters and h be the number of hats. We know that p = h + 5 and p + h = 25.
Substituting the first equation into the second equation, we get (h + 5) + h = 25
Combining like terms, we get 2h + 5 = 25
Subtracting 5 from both sides, we get 2h = 20
Dividing both sides by 2, we get h = 10
Substituting that value back into p=h+5, we get p = 10 + 5 = <<10+5=15>>15. Answer: \boxed{10,15}.
A merchandise table at a concert is selling posters and hats. The table sold 25 items for the day. The number of posters sold was five more than the number of hats sold. How many posters and hats were sold?
1 answer