def max_val(t):
  """Get max int element of tuple or list
  
  Each element of t is either an int, a tuple, or a list
  No tuple or list is empty
  
  Decorators:
    guenther.wasser
  
  Args:
    t ([tuple, list]): tuple or list
  Return:
    Returns the maximum int in t or (recursively) in an element of t
  """
  maxValue = 0
  mv = 0
  for item in t:
    if type(item) == list or type(item) == tuple:
        mv = max_val(item)
    else:
      if item > maxValue:
        maxValue = item
    if mv > maxValue:
      maxValue = mv
  return maxValue