An integer m (3 ≤ m ≤ 40), representing the number of entities.
For each entity, an integer id (0 ≤ id ≤ 9999) followed by a list of integers sj (0 ≤ sj ≤ 10) where the number of integers in the list 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 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 consists of an integer and a list of integers 
    '''
