In two's-complement representation, positive numbers are simply represented as themselves, and negative numbers are represented by the two's complement of their absolute value.
Since 10001 starts with 1, hence the number is negative. Now we Change the sign to get the magnitude of the number.