An integer n (1 ≤ n ≤ 1000000000).

### Example Input:

```
6
```

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