find missing number from 1 to N in the array