Alisa separated her pictures into 3 piles. Each pile has 9 pictures. How many pictures did she have in all? Write and solve an equation to represent the problem. State the answer to the problem.