Answer: A, C
In the two cyanide reactions the substrate order is Br>CHX2X>CHX3>H (X = OCH3 or F), but in the product the group CHX2X with (X,H,H) outranks the cyano carbon (N,N,N) because O and F outrank N. The order of the top two groups is swapped, which exactly cancels the effect of the inversion, so the letter stays R (RDKit CIP check). For 2-bromooctane with azide, and for 2-chlorobutane with iodide, the incoming group takes over the top priority, so the order is unchanged and the letter flips: R→S and S→R.