An integer N (1 ≤ N ≤ 10), representing some quantity or size.
An integer K (1 ≤ K ≤ 10), representing another quantity or size.

### Example Input:

```
4
3
```

### Function Signature:
Write a function f(N, K) that takes in the input.
def f(N: int, K: int):
    '''
    N: an integer
    K: an integer
    '''