An integer \( n \) (1 ≤ \( n \) ≤ 100), representing some quantity or size.
A list of \( n \) lines, each line containing:
  1. An integer \( u \) (1 ≤ \( u \) ≤ 100), an identifier.
  2. An integer \( k \) (0 ≤ \( k \) ≤ 100), representing some quantity or size.
  3. \( k \) integers \( v_1, v_2, ..., v_k \) (1 ≤ \( v_i \) ≤ 100), representing identifiers.

### Example Input:

```
4
1 1 2
2 1 4
3 0
4 1 3
```

### Function Signature:
Write a function f(n, adjacency_list) that takes in the input.
def f(n: int, adjacency_list: List[Tuple[int, int, List[int]]]):
    '''
    n: an integer
    adjacency_list: a list of tuples, where each tuple contains an integer, an integer, and a list of integers
    '''