Find the single number from an array where all other elements appear exactly twice.