An integer N (2 ≤ N ≤ 100), representing some quantity or size.
An integer x (1 ≤ x ≤ 10^9), representing some quantity.
A list of integers A of size N, where each integer is between 1 and 10^9.

### Example Input:

```
3 70
20 30 10
```

### Function Signature:
Write a function f(N, x, A) that takes in the input.
def f(N: int, x: int, A: List[int]): 
    ''' 
    N: an integer 
    x: an integer 
    A: a list of integers
    '''