All the roots of the polynomial $z^6 - 10z^5 + Az^4 + Bz^3 + Cz^2 + Dz + 16$ are positive integers. What is the value of $B$?

Let's think step by step and output the final answer within \boxed{}.
user