def split_gates(inputs: int) -> tuple[int, int]:

    """Splits the number of inputs across the left and right of the karnaugh map."""

    left = inputs // 2  # Larger for odd
    top = inputs - left

    return left, top