Description
In order to put away old things and welcome a fresh new year, a thorough cleaning of the house is a must.
Little Tommy finds an old polynomial and cleaned it up by taking it modulo another. But now he regrets doing this…
Given two integers p p and , find a polynomial f(x) f ( x ) with non-negative integer coefficients strictly less than k k , whose remainder is when divided by (x + k) ( x + k ) . That is, f(x) = q(x)⋅(x + k) + p f ( x ) = q ( x ) · ( x + k ) + p , where q(x) q ( x ) is a polynomial (not necessarily with integer coefficients).
Input
The only line of input contains two space-separated integers p p and (1 ≤