PUMaC 2017 Team Problem 10

Given a positive integer x \leq 233, let a be the remainder when x^{1943} is divided by 233. Find the sum of all possible values of a.