code: def auto_number(
      tokens: List[TOKEN], local_dict: DICT, global_dict: DICT
  ):
      """
      Converts numeric literals to use SymPy equivalents.
  
      Complex numbers use ``I``, integer literals use ``Integer``, and float
      literals use ``Float``.
  
      """
      result: List[TOKEN] = []
  
      for toknum, tokval in tokens:
          if toknum == NUMBER:
              number = tokval
              postfix = []
  
              if number.endswith(("j", "J")):
                  number = number[:-1]
                  postfix = [(OP, "*"), (NAME, "I")]
  
              if "." in number or (
                  ("e" in number or "E" in number)
                  and not (number.startswith(("0x", "0X")))
              ):
                  seq = [
                      (NAME, "Float"),
                      (OP, "("),
                      (NUMBER, repr(str(number))),
                      (OP, ")"),
                  ]
              else:
                  seq = [
                      (NAME, "Integer"),
                      (OP, "("),
                      (NUMBER, number),
                      (OP, ")"),
                  ]
  
              result.extend(seq + postfix)
          else:
              result.append((toknum, tokval))
  
      return result
  
imports: from tokenize import generate_tokens, untokenize, TokenError, NUMBER, STRING, NAME, OP, ENDMARKER, ERRORTOKEN, NEWLINE
  from keyword import iskeyword
  import ast
  import unicodedata
  from io import StringIO
  import builtins
  import types
  from typing import Tuple, Dict, Any, Callable, List, Optional, Union
  from sympy.assumptions.ask import AssumptionKeys
  from sympy.core.basic import Basic
  from sympy.core import Symbol
  from sympy.core.function import Function
  from sympy.utilities.misc import func_name
  from sympy.functions.elementary.miscellaneous import Max, Min
label_desc: Use image node_id 19 for calling a global function with example usage: auto_number(tokens, local_dict, global_dict) and returns: result