input: Write a python function to find the most frequent element in a list and return it as a dictionary.
  assert find_frequent([1, 1, 2, 3, 3, 3, 4, 4, 4, 4]) == {4: 4}
  assert find_frequent(['a', 'b', 'b', 'a', 'c', 'a', 'a']) == {'a': 4}
  assert find_frequent([1, 2, 2, 3, 3, 3, 4]) == {3: 3}
output: def find_frequent(lst):
      from collections import Counter
      if not lst:
          return {}
      count = Counter(lst)
      most_common = count.most_common(1)[0]
      return {most_common[0]: most_common[1]}