If the median of the data 2, 4, x, 5, 8 when arranged in ascending order is 4. then the value of x is

Kindly tell

there must be two values less than 4, and two values greater than 4.

So all we know is that x < 4