An integer n (1 ≤ n ≤ 10000), representing some quantity or size.
A list of tuples of integers (pm, pe, pj) of size n, where each integer is between 0 and 100.

### 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[Tuple[int, int, int]]):
    '''
    inputs: a list of tuples, where each tuple consists of three integers
    '''
```