Output the 3rd and 7th element of the following list:
[1, 5, 8, 11, 15, 20, 24, 30]
The 3rd element is 8 and the 7th element is 24.
Complete the following task based on the instruction and optional input provided.### Instruction:
Output the 3rd and 7th element of the following list:

### Input:
[1, 5, 8, 11, 15, 20, 24, 30]

### Output:
The 3rd element is 8 and the 7th element is 24.