input: 
  from typing import List
  
  
  def most_common(nums: List[int]) -> List[int]:
      # Create a dictionary to store the counts of each element
      counts = {}
  
      # Iterate over the list and update the counts
      for num in nums:
          if num not in counts:
              counts[num] = 0
          counts[num] += 1
  
      # Find the maximum count
      max_count = max(counts.values())
  
      # Return the elements that occur the maximum number of times
      return [num for num, count in counts.items() if count == max_count]
  
  # Example usage:
  # >>> most_common([3, 4, 1, 2, 5, 3, 3])
  # [3]
  
output:     # Find the maximum count
      max_count = max(counts.values())
  
      # Return the elements that occur the maximum number of times
      return [num for num, count in counts.items() if count == max_count]