code: def egypt_greedy(x, y):
      # assumes gcd(x, y) == 1
      if x == 1:
          return [y]
      else:
          a = (-y) % x
          b = y * (y // x + 1)
          c = gcd(a, b)
          if c > 1:
              num, denom = a // c, b // c
          else:
              num, denom = a, b
          return [y // x + 1] + egypt_greedy(num, denom)
  
file_path: sympy/sympy/ntheory/egyptian_fraction.py
imports: from sympy.core.containers import Tuple
  from sympy.core.numbers import Integer, Rational
  from sympy.core.singleton import S
  import sympy.polys
  from math import gcd
label_desc: Use image node_id 2 for calling a global function with example usage: egypt_greedy(x, y) and returns: list, unknown