public bool IsDivisible(int x, int n)
{
   return (x % n) == 0;
}