Constraints added for selecting one digit number