let q be the set of orderings in which gene comes before don and jan comes before abe (again, not necessarily immediately before). define a k-to-1 correspondence from s to q. use the value of k to determine |q|.