476 is divisible by 17, so the remainder is the same as 2*296*35 1.
2*296*35 1=(289+7)*2*35 1=289*2*35 1+7*2*35 1
The remainder is the same as 7*2*35 1.
7*2*35 1=(340+ 1 1)*2*7
So the remainder is the same as 1 1*2*7, and the remainder is 1.