Cave Gnome Logic Assessment