Here is a modified version of the input array after deleting all elements that are greater than 5:

[3, 4]
[3, 4, 6, 7, 8]
### Instruction:
Delete all elements in the array that are greater than 5.

### Input:
[3, 4, 6, 7, 8]

### Response:
