The input consists of multiple datasets, each in the following format:

An integer n (3 ≤ n ≤ 100), representing some quantity or size.
A list of tuples of integers of size n, where each tuple contains two integers between 0 and 10000.

### Example Input:

```
4
0 0
10000 0
10000 10000
0 10000
3
0 0
10000 0
7000 1000
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
            - a list of tuples of integers
    '''
```