. . . "Checking whether a number is valid is a matter of checking if the length and last digit are correct." .