On and on they travelled , looking always to right and left for traces of the Princess , following up every track , making inquiries of every cat and dog they met , listening to the talk of every wayfarer they passed ; and at last they heard that the kingdom at the utmost ends of the earth where the twelve youths had borne the Princess was not very far off .