Since 10 is -1 mod 11, we can calculate the alternating sum of the digits and easily find that x=7. A similar method, employing the values of 10^n mod 13, can be used on the original problem, but it would be laborious due to the large number of digits.