groups of mothers trailed the children , chatting and encouraging the shy ones to walk up to the doors , where the kids forgot their lines until the homeowner prompted them `` can you say trick-or-treat ? ''