it went on for hours , and it was nearly sunset when ehlana and tynian finally reached a grudging agreement - thirty horses - and concluded the bargain by spitting in their hands and smacking their palms together .