Given that the polynomial x^2-kx+18 has only positive integer roots, find the average of all distinct possibilities for k.