An integer n (13 ≤ n ≤ 10,000,000).
Multiple datasets are provided. The end of input is indicated by a line containing a single zero.
The number of datasets is no more than 2000.

### Example Input:

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

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