a penguin with a notebook sat cross-legged on a gargoyle , scratching its cheek with the eraser end of its pencil , while another , high above , dangled a magnet on a long piece of string in an effort to steal its thermos .