How would you calculate the following closed contour integral where one of the poles is on the contour?$$\oint_{|z|=3} \frac{(z-1)^2}{(z-2)^2(z-3)} dz$$
I've only been given questions where the poles are either inside and/or outside the contour, but never on the contour.