code: def kronecker(x, y):
      """Kronecker symbol (x / y)."""
      if gcd(x, y) != 1:
          return 0
      if y == 0:
          return 1
      sign = -1 if y < 0 and x < 0 else 1
      y = abs(y)
      s = bit_scan1(y)
      y >>= s
      if s % 2 and x % 8 in [3, 5]:
          sign = -sign
      return sign * jacobi(x, y)
  
imports: import sys
  import math
  import mpmath.libmp
label_desc: Use image node_id 13 for calling a global function with example usage: kronecker(x, y) and returns: unknown, int, int