Single Number Ii Leetcode Solution Python