Chris had some black and white balls in a box. First, he added 98 white balls and as a result, 40% of the balls were black. Next, he added another 240 white balls and the number of black balls decreased by 25%.

(a) What percentage of the balls were white in the end?
(b) How many white balls did he have at first?