The six-digit integer 978,XYZ consists of six distinct digits and is divisible by 7, 8 and 9. What is the three-digit integer XYZ?
XYZ ==264
978264 mod 7==0
978264 mod 8==0
978264 mod 9==0