Third Maximum Number Leetcode Python