<｜begin▁of▁sentence｜>### Instruction:
As a lighting technician, you have been tasked with setting up and controlling the lighting for a large music festival. The festival organizers have provided you with a list of light intensity readings recorded at various stages during the festival, including [15, 20, 40, 35, 50]. They have requested that you calculate the 40th percentile of these readings using a suitable tool. Since igraph is not available, they have suggested using the equivalent functionality in NumPy. Can you perform this calculation using NumPy to ensure the lighting effects are appropriately adjusted for the festival performances?
### Response:
from scipy import stats
import numpy as np

# Given a list of numbers and a quantile q
numbers = [15, 20, 40, 35, 50]
q = 0.4
# Compute the qth quantile
quantile_value = np.quantile(numbers, q)
print(f'The {q*100}th percentile is {quantile_value}')
<|EOT|>
