Integer equation - MarisaOJ: Marisa Online Judge

Integer equation

Time limit: 1000 ms
Memory limit: 256 MB
Find the integer solution of the equation: $ax + b = 0$. ### Input - A single line containing two integers $a, b$. ### Output - Print an integer which is the solution of the equation. If there are infinite solutions, print `INFINITE SOLUTIONS`. If no integer solution exists, print `NO SOLUTION`. ### Constraints - $-100 \le a, b \le 100$. ### Sample test Input: ``` 3 6 ``` Output: ``` -2 ```