An integer N (2 ≤ N ≤ 6), representing some quantity or size.
A list of N tuples, each containing two integers (low_i, high_i), where 1 ≤ low_i ≤ high_i ≤ 99.
The input ends with a line containing a single zero.

### Example Input:

```
2
1 11
1 11
0
```

### Function Signature:
Write a function f(inputs) that takes in the input.
```python
def f(inputs: List[Tuple[int, List[Tuple[int, int]]]]):
    ''' 
    inputs: a list of tuples where each tuple contains an integer and a list of tuples of integers
    '''
```