An integer t (0 < t ≤ 100), representing the number of datasets.
Each dataset consists of:
1. An integer n (2 ≤ n ≤ 100), representing some quantity or size.
2. A list of integers of size n, 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.
def f(inputs: List[Tuple[int, List[int]]]):
    '''
    inputs: a list of tuples, where each tuple contains an integer and a list of integers
    '''