Valerie baked some cookies for sale. 60 percent of them were chocolate cookies, 25 percent of them were peanut cookies and the rest were almond cookies. There were 225 more chocolate cookies than almond cookies. She sold 80 percent of the chocolate cookies.

(A) How many cookies did Valerie bake at first?
(B) How many chocolate cookies did she sell?

Let's say Valerie baked x cookies at first.

The number of chocolate cookies is 60/100 * x = 3/5 * x
The number of peanut cookies is 25/100 * x = 1/4 * x
The number of almond cookies is x - 3/5 * x - 1/4 * x = 7/20 * x
There were 225 more chocolate cookies than almond cookies, so 3/5 * x - 7/20 * x = 225
Multiplying through the equation by 20 gives 12 * x - 7 * x = 4500
Combining like terms gives 5 * x = 4500
Dividing both sides by 5 gives x = 4500 / 5 = <<4500/5=900>>900
Valerie baked 900 cookies at first.

Valerie sold 80/100 * 3/5 * 900 = 144 * 3 = <<80/100*3/5*900=432>>432 chocolate cookies. Answer: \boxed{432}.