Bob guessed that Alice was richer than him. Bob wanted to confirm with Alice, but they didn't want to give each other their own wealth value. There is an operation that can solve the problem for Alice and Bob, giving a master key and a series of locks representing 1 million, two million, etc. These locks can only be opened once, that is, they cannot be reopened if they are locked again. Alice uses this master key to open all the locks that represent equal to and exceed her wealth and locks them again. Bob can only use this master key once and only open the lock representing her wealth, so that Bob knows that he has less wealth than Alice. Explain the process.