Hammoudeh met a guy at a programming contest once (let's call him Jim), and Jim was telling him about how good he is at mathematical problems, and how much he knows about the "three-five theorem", a very advanced topic in number theory. Hammoudeh decided to give Jim a problem to test his skills.
You have $3$ numbers, $a$, $b$, and $x$. You can perform any of the following operations any number of times:
1. $a = a + |a - b|$
2. $b = b + |a - b|$
Determine whether or not it's possible to make $a = x$ or $b = x$.