Given a list of prices and a budget, tell me what items I can afford.
[10, 20, 30, 40], budget = 50
With a budget of 50, you can afford the items that cost 10 and 20, or the item that costs 40 alone.
Complete the following task based on the instruction and optional input provided.### Instruction:
Given a list of prices and a budget, tell me what items I can afford.

### Input:
[10, 20, 30, 40], budget = 50

### Output:
With a budget of 50, you can afford the items that cost 10 and 20, or the item that costs 40 alone.