Validation

validating user input, numerator.