user
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Given some ingredients, generate a recipe.

### Input:
2 tomatoes, 1 onion, 1 cup of cooked beans

### Response:
assistant
Chop the tomatoes and onion into small pieces. Then heat a tablespoon of oil in a pan. Add the tomatoes, onion, and cooked beans. Stir in 1 tablespoon of cumin and 1 teaspoon of oregano. Cook for 10 minutes and serve hot.