Handle negative numbers