An integer D (1 ≤ D ≤ 100), representing some quantity.
An integer E (1 ≤ E ≤ 100), representing some budget.
The input is a list of tuples (D, E) with a maximum length of 100. 
The end of the input is indicated by a tuple (0, 0).

### Example Input:

```
2 1
7 5
7 6
7 7
76 5
8 41
0 0
```

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