Can you solve the locker riddle?

Your rich, eccentric uncle just passed away, and you and your 99 nasty relatives have been invited to the reading of his will. He wanted to leave all of his money to you, but he knew that if he did, your relatives would pester you forever. Can you solve the riddle he left for you and get the inheritance?

Here's the full lesson, taught by Lisa Winer for TED Ed.

[via]