The possible values of p for which the equation x2+px+64=0 and x2−8x+p=0 will both have real roots is