An integer t (0 < t ≤ 100), representing some quantity or size.
A list of t datasets, where each dataset contains:
1. An integer n (2 ≤ n ≤ 100), representing some quantity or size.
2. A list of n integers, where each integer is between 1 and 1000.

### Example Input:

```
5
5
10 70 30 50 90
2
20 100
2
100 30
3
50 50 50
7
123 45 678 901 234 567 890
```

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