An integer sequence ending with -1. Each dataset is given in the following format:

An integer p1 (0 ≤ p1 ≤ 11).
A line of three integers p2, p3, p4 (0 ≤ pi ≤ 11).
A line of five integers p5, p6, p7, p8, p9 (0 ≤ pi ≤ 11).
A line of three integers p10, p11, p12 (0 ≤ pi ≤ 11).
An integer p13 (0 ≤ p13 ≤ 11).

There are no more than 100 datasets.

### Example Input:
```
2
1 0 3
4 5 6 7 8
9 0 11
10
0
1 2 3
4 5 6 7 8
9 10 11
0
0
11 10 9
8 7 6 5 4
3 2 1
0
-1
```

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