code: def mpf_min_max(seq):
      min = max = seq[0]
      for x in seq[1:]:
          if mpf_lt(x, min):
              min = x
          if mpf_gt(x, max):
              max = x
      return min, max
  
imports: import math
  from bisect import bisect
  import sys
  from .backend import MPZ, MPZ_TYPE, MPZ_ZERO, MPZ_ONE, MPZ_TWO, MPZ_FIVE, BACKEND, STRICT, HASH_MODULUS, HASH_BITS, gmpy, sage, sage_utils
  from .libintmath import giant_steps, trailtable, bctable, lshift, rshift, bitcount, trailing, sqrt_fixed, numeral, isqrt, isqrt_fast, sqrtrem, bin_to_radix
label_desc: Use image node_id 34 for calling a global function with example usage: mpf_min_max(seq) and returns: min,  max