An integer n (1 ≤ n ≤ 10^15), representing some quantity or size.
An integer m (0 ≤ m ≤ 10^15), representing some other quantity or size.

### Example Input:

```
3 9
```

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