$n$ integers are arranged along a circle such that each number is equal to the absolute value of the difference of the two numbers following it in the clockwise direction. If the sum of all numbers is $278$, find how many different values $n$ can take.

Let's think step by step and output the final answer within \boxed{}.
user