solve Single Number II
refine Single Number I