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

### Example Input:

```
4
2 0 -2 1
```

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