Help me pleaseeeeeeeeeeeeeeeeeeeeeeeeeee

Answer:
The 40th number in the pattern is 9.
because it repeats every 4 numbers, so you just can change this pattern into normal, like 1 2 3 4 ... and just count, or you can just divide every number given in the choices by four