Let's call the distance between numbers the absolute value of their difference. It is known that the sum of the distances from twenty-five consecutive natural numbers to some number is 1270, and the sum of the distances from these same twenty-five numbers to the number is 1234. Find all possible values of .