(A * 5 + B * 2 > 7) OR (A * 5 + B * 2 < 3) OR (A * 5 + 3 = X)