An integer m (3 ≤ m ≤ 40), representing some quantity or size.
m lines of input, each containing:
- An integer id (0 ≤ id ≤ 9999)
- Followed by n integers s1, s2, ..., sn (0 ≤ sj ≤ 10), where the total number of integers n is between 12 and 21.

### Example Input:

```
3
1010 6 3 10 7 1 0 7 9 1 10 6 2 4 3 9 1 9 0
1200 5 3 9 1 7 1 0 0 8 1 10 10 4 3 9 1 8 2 9
1101 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
```

### 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
        - a list of integers
    '''