Forum:Last Man Standing - Fairy tale?

Any thoughts about the Last Man Standing episode? I'm wondering which fairy tale it will be based on as the last one was a complete surprise. I had no idea where the idea came from until I looked at NBC's website.