An unspecified number of lines, each containing a single integer \(X\) (1 < \(X\) < 300000). The end of the input is indicated by a line containing a single digit 1.

### Example Input:
```
205920
262144
262200
279936
299998
1
```

### Function Signature:
Write a function `f(inputs)` that takes in the inputs.

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