The idea is this. To start with, you will choose an envelope at random, say by tossing a coin, and look at its contents, which is a cheque for some number - say n. (By randomising like this, you can be sure I haven't subconsciously induced you to prefer one envelope or the other.) You want to make sure that the bigger the number is, the more likely you are to keep it, in other words, the less likely you are to swap.