input: from typing import List
  
  def find_mode(numbers: List[int]) -> int:
      """ Return the mode of the given set of values.
      >>> find_mode([1, 2, 3, 2, 4, 2])
      2
      >>> find_mode([1, 1, 2, 2, 2, 3, 3])
      2
      """
      max_count = 0
      mode = numbers[0]
      count = {}
      for item in numbers:
          if item in count:
              count[item] += 1
          else:
              count[item] = 1
          if count[item] > max_count:
              max_count = count[item]
              mode = item
      return mode
output:     max_count = 0
      mode = numbers[0]
      count = {}
      for item in numbers:
          if item in count:
              count[item] += 1
          else:
              count[item] = 1
          if count[item] > max_count:
              max_count = count[item]
              mode = item
      return mode