Substitution Problem Where Values Are Known But Order Is Not