An integer N (1 ≤ N ≤ 50), representing some quantity or size.  
A list of N pairs of integers (x, y), where each integer x and y is between -1e9 and 1e9, and for all pairs (i ≠ j), either x_i ≠ x_j or y_i ≠ y_j.  

### Example Input:

```
2
1 1
2 2
```

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