check_xn function

Check 'x' and 'n' values