Solve the linear equation ax + b = 0 in integers.
Two integers are entered: a and b.
Output all solutions if their number is finite; output "NO" (without quotes) if there are none; output "INF" (without quotes) if there are infinitely many solutions.
[{'input': '6\n-2', 'output': 'NO'}, {'input': '1\n1', 'output': '-1'}]