Question: Find solutions from two equations

I want to solve the following problem:

Print  (a, b, c, d, e, f, g, h)

this  should satisfies

1, a,b,c,d,e,f,g,h are integers  from -10 to 10

2, a+b+c+d+e+f+g+h=4 and a+2b+3c+4d+6e+8f+12g+24h=24

Please help me.

Thank you very much.

 

Please Wait...