A polynomial f(x)=y with integer coefficients passes through points (3, 9) and (8, k). Find the largest possible value of k if k<9.