In a 1D motion, ball B is ahead of A. Ball A is moving with a speed of 10 m/s towards B and ball B is moving with speed 15 m/s towards ball A. After the collision, ball A starts moving with a speed of 5 m/s towards ball B and ball B starts moving with a speed of 20 m/s away from A. Find the coefficient of restitution (e).