An integer n (1 ≤ n ≤ 10000), representing some quantity or size.  
A list of tuples of integers, each tuple of size 3, where each integer is between 0 and 100.  
There are no more than 1000 such lists of tuples.  
The end of the input is indicated by a single line with a zero.

### Example Input:

```
4
100 70 20
98 86 55
80 34 36
65 79 65
2
99 81 20
66 72 90
0
```

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