An integer \( N \) (1 ≤ \( N \) ≤ 8), representing some quantity or size.
An integer \( F \) (-10^5 ≤ \( F \) ≤ 10^5), representing some value.
An \( N \times N \) matrix \( X \), where each \( X[i][j] \) is an integer (-10^5 ≤ \( X[i][j] \) ≤ 10^5).

### Example Input:
```
2 0
1 3
1 1
```

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