input: from typing import List, Any
  
  def most_common_elements(nums: List[int]) -> List[int]:
      """Find the most common element(s) in a given list of integers.
      >>> most_common_elements([3, 4, 1, 2, 5, 3, 3])
      [3]
      >>> most_common_elements([1, 2, 2, 3, 3, 3, 4, 4, 4, 4])
      [4]
      >>> most_common_elements([7, 7, 7, 7, 7, 2, 2, 2, 2, 2])
      [7, 2]
      """
output:     
      from collections import Counter
  
      count = Counter(nums)
      max_count = max(count.values())
      return [num for num, freq in count.items() if freq == max_count]
  