Answer: A
In the substrate the priorities are OTs>CHX2OCHX3>CHX3>H. In the product CHX2OCHX3 (O,H,H) outranks CN (N,N,N), so the order becomes CHX2OCHX3>CN>CHX3>H: the incoming group now sits in the second rather than the first position. Inversion of geometry combined with this priority change leaves the letter unchanged, giving (S).