# [BQN](https://mlochbaum.github.io/BQN/), 15 bytes<sup>[SBCS](https://github.com/mlochbaum/BQN/blob/master/commentary/sbcs.bqn)</sup>
```none
{=𝕩?(≠⌈´𝕊¨)𝕩;0}
```
[Run online!](https://mlochbaum.github.io/BQN/try.html#code=RiDihpAgez3wnZWpPyjiiaDijIjCtPCdlYrCqCnwnZWpOzB9Cgo+4ouI4p+cRsKoIOKfqOKfqOKfqQox4oC/MuKAvzMK4p+oMeKAvzLigL8z4p+pCjHigL8y4oC/4p+o4p+p4oC/MQox4oC/KDHigL8oOOKAvzLigL8oMeKAvzIp4oC/NeKAvzTigL85KSnigL8y4oC/4p+o4p+p4oC/M+KfqQ==)
or questionable 12 bytes:
```none
{(≠⌈´𝕊⎊0¨)𝕩}
```
[Run online!](https://mlochbaum.github.io/BQN/try.html#code=RiDihpAgeyjiiaDijIjCtPCdlYrijoowwqgp8J2VqX0KCj7ii4jin5xGwqgg4p+o4p+o4p+pCjHigL8y4oC/Mwrin6gx4oC/MuKAvzPin6kKMeKAvzLigL/in6jin6nigL8xCjHigL8oMeKAvyg44oC/MuKAvygx4oC/MinigL814oC/NOKAvzkpKeKAvzLigL/in6jin6nigL8z4p+p)
This relies on exceeding the maximum call stack size, which means this only works if such a limit exists and is larger than the maximum depth of the ragged list.