An integer T (1 ≤ T ≤ 2000), representing the number of datasets.
A list of integers, each integer n (13 ≤ n ≤ 10,000,000) ending with a zero.

### Example Input:

```
13
14
15
16
17
18
19
20
10000
0
```

### Function Signature:
Write a function f(inputs) that takes in the input.
```python
def f(inputs: List[int]):
    '''
    inputs: a list of integers
    '''
```