A particle starts moving from rest from a fixed point in a fixed direction. The distance s from the fixed point at a time t is given by s=t2+at−b+17, where a,b are real numbers. If the particle comes to rest after 5 sec at a distance of s=25 units from the fixed point, then values of a and b are respectively