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 the following sentence, edit it for clarity and succinctness.

### Input:
Due to the fact that he was unable to find the solution to his problem, he became very discouraged.

### Response:
assistant
He grew discouraged when he couldn't find a solution.