def remainder(num1: int, num2: int) -> int:
    """Find the remainder from num1 and num2."""
    if all((num1 > 0, num2 >= 1,)):
        return num1 % num2
    raise ValueError("Check number inputs. ")