You seem to be on the right lines though there is an example of where English language leads to ambiguity.

What output are you getting and what output do you expect?

Suisse