The following sequence of number is arranged in increasing order $1,x,x,x,y,y,9,16,18$. Given that the mean and median are equal, and are also equal to twice the mode, the value of $y$ is

1. $5$
2. $6$
3. $7$
4. $8$