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 and b are real numbers. If the particle comes to rest after 5s at a distance of s=25 units from the fixed point, then value of a and b are respectively.