An integer n (1 ≤ n ≤ 1,500), representing some quantity or size.

### Example Input:

```
2
```

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