x+y+z=100 and 5x+500y+100z=10000