Alex Gendler provides a pretty great brain-teaser in his TED-Ed video where you’re stuck in the mountains after an internship goes wrong.

But unlike most other brain teasers, this one is extra awesome because it involves zombies! Can you solve it and avoid getting eaten?