An integer x (0 < x < 100), representing a percentage.
An integer y (0 < y < 100), representing a percentage and not equal to x.
An integer s (10 < s < 1000), representing a sum.
The end of the input is specified by three zeros separated by a space.

### Example Input:

```
5 8 105
0 0 0
```

### Function Signature:

Write a function f(inputs) that takes in the input as a list of tuples.
```python
def f(inputs: List[Tuple[int, int, int]]):
    '''
    inputs: a list of tuples, where each tuple contains three integers
    '''
```