An integer N (1 ≤ N ≤ 10^7).

### Example Input:

```
7
```

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