When 170 is divided by a number, the remainder is 8. When 120 is divided by the number, the remainder is 12. When 268 is added by 2, it is divisible by the number. Among the numbers that are possible, find the largest value.
170 8 [OP_SUB] 268 2 [OP_ADD] [OP_GCD] 120 12 [OP_SUB] [OP_GCD]
var_a = 170
var_b = 8
var_c = var_a - var_b
var_d = 268
var_e = 2
var_f = var_d + var_e
var_g = math.gcd(int(var_f), int(var_c))
var_h = 120
var_i = 12
var_j = var_h - var_i
var_k = math.gcd(int(var_j), int(var_g))
print(int(var_k))