```python
def till_float(amount: int, coins: list) -> list:
    """How many of each coin to hand back, largest coin first."""
    counts = []
    left = amount
    for coin in coins:
        while left >= coin:
            counts.append(1)
            left -= coin
        else:
            counts.append(0)
    return counts
```