Олимпиадный тренинг

Задача 33623. Linear Equation


Numbers a and b are given. Solve in integers the \(ax+b=0\) equation. Print all solutions of this equation, if their number is finite, print the word NO, if there are no solutions, print the word INF, if there are infinitely many solutions.

Input
Two numbers are entered, one per line.

Imprint 
Output the answer to the problem.

 

Examples
# Input Output
1 1
-7
7
2 6
-2
NO