An integer N (2 ≤ N ≤ 10^4), representing some quantity or size.
A list of N tuples, where each tuple contains two integers (1 ≤ x_i, y_i ≤ 10^9).

### Example Input:

```
3
1 3
2 5
1 9
```

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