Example

For a, b, c Z, we compute the set of all [x, y] such that xa + yb = c.

Input a 
Input b 
Input c 
 
 
[x,y] =