In this case, according to the given information, it turns out possible for us to firstly recall the electron configuration of hydrogen:
To realize that the principal quantum number is 1, the angular is 0 as well as the magnetic one; therefore we infer that all the given n's are not allowed, just l=0 is allowed as well as ml=0 yet the rest, are not allowed.