Why not just use 2 conditions instead?
a.x = b.x
b.x = c.x
or if it is the same object, something like:
pick the one sprite you wanna check, set a local variable to the x of the sprite
pick by comparison, x = localvariable
if sprite.pickedcount = 3: do stuff