Conditionals

Adding the conditional for the factor and original number