2013 AIME II Problem 12

Let S be the set of all polynomials of the form z^{3}+a z^{2}+b z+c, where a, b, and c are integers. Find the number of polynomials in S such that each of its roots z satisfies either |z|=20 or |z|=13.