Alex had 36 ounces of jelly beans. He ate 6 ounces. Then he divided the rest equally into 3 piles. How much does each pile weigh?
Please reason step by step, and put your final answer within \boxed{}.
user