Canonicalized Input Description: 

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

### Example Input:

```
3
1 2 3
```

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