An integer \(x\) (0 ≤ \(x\) < 10), representing a position on a grid.
An integer \(y\) (0 ≤ \(y\) < 10), representing a position on a grid.
An integer \(s\) from the set {1, 2, 3}, indicating a size category.
The number of tuples (x, y, s) is less than or equal to 50.

### Example Input:

```
2,5,3
3,6,1
3,4,2
4,5,2
3,6,3
2,4,1
```

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