def check_numbers(num_a, num_b):
    """
    Checks to see if the two numbers are evenly divisible by each other.
    """
    div_result = num_a % num_b
    if div_result == 0:
        return True, int(num_a / num_b)

    div_result = num_b % num_a
    if div_result == 0:
        return True, int(num_b / num_a)

    return False, 0