diophantine: 2x+3y+7z=1000