polished SeparateNumber.java