Yes, with the tiny correction:

using Cauchy's integral formula and calculating the residues for the separate singularities of the integrand. The integral has this value assuming encircles both 0, 1 and 2. Assuming any closed curve in the complex plane is possible, we keep all different combinations of the terms in the final sum, giving the possible values of the integral to be .