input: Write a function to find the mode of the given set of values.
  assert find_mode([1, 2, 3, 2, 4, 2]) == 2
  assert find_mode([1, 1, 2, 2, 2, 3, 3, 3, 3]) == 3
  assert find_mode([5, 5, 5, 5, 5]) == 5
  assert find_mode([1, 2, 3, 4, 5]) == 1
  assert find_mode([1]) == 1
output: def find_mode(values):
      count = {}
      for value in values:
          if value in count:
              count[value] += 1
          else:
              count[value] = 1
      max_count = max(count.values())
      modes = [key for key, value in count.items() if value == max_count]
      return min(modes)