new_contents: class Solution(object):
      def majorityElement(self, nums):
          """
          :type nums: List[int]
          :rtype: int
          """
          nums.sort()
          return nums[len(nums) / 2]
  
subject: Create MajorityElement_003.py