An integer n (5 ≤ n ≤ 10000). The input is a sequence of datasets. The end of the input is indicated by a line containing one zero.

### Example Input:

```
12
100
200
300
0
```

### Function Signature:
Write a function f(inputs) that takes in the input.
```python
from typing import List

def f(inputs: List[int]):
    ''' 
    inputs: a list of integers
    '''
```