code: def dup_rshift(f, n, K):
      """
      Efficiently divide ``f`` by ``x**n`` in ``K[x]``.
  
      Examples
      ========
  
      >>> from sympy.polys import ring, ZZ
      >>> R, x = ring("x", ZZ)
  
      >>> R.dup_rshift(x**4 + x**2, 2)
      x**2 + 1
      >>> R.dup_rshift(x**4 + x**2 + 2, 2)
      x**2 + 1
  
      """
      return f[:-n]
  
imports: from sympy.polys.densebasic import dup_slice, dup_LC, dmp_LC, dup_degree, dmp_degree, dup_strip, dmp_strip, dmp_zero_p, dmp_zero, dmp_one_p, dmp_one, dmp_ground, dmp_zeros
  from sympy.polys.polyerrors import ExactQuotientFailed, PolynomialDivisionFailed
label_desc: Use image node_id 18 for calling a global function with example usage: dup_rshift(f, n, K) and returns: f