code: def literal_symbol(literal):
      """
      The symbol in this literal (without the negation).
  
      Examples
      ========
  
      >>> from sympy.abc import A
      >>> from sympy.logic.inference import literal_symbol
      >>> literal_symbol(A)
      A
      >>> literal_symbol(~A)
      A
  
      """
  
      if literal is True or literal is False:
          return literal
      elif literal.is_Symbol:
          return literal
      elif literal.is_Not:
          return literal_symbol(literal.args[0])
      else:
          raise ValueError("Argument must be a boolean literal.")
  
imports: from sympy.logic.boolalg import And, Not, conjuncts, to_cnf, BooleanFunction
  from sympy.core.sorting import ordered
  from sympy.core.sympify import sympify
  from sympy.external.importtools import import_module
label_desc: Use image node_id 1 for calling a global function with example usage: literal_symbol(literal) and returns: literal, literal, literal_symbol