First-Envelope Problem, Probabilistic Reasoning

Suppose you are given two envelopes both containing money, and you know that no matter what the amounts are, one envelope contains double the amount of the other. You want to choose the envelope that contains the largest amount. Without loss of generality, assume that the money are of integer type. Denote the two envelopes as X = n Y = 2n, n \( \in \mathbb{N} \) You pick one envelope of the two at random, and before you open it, you are given the opportunity to change your choice and pick the other envelope instead. What would you do, and why? It is natural to think that this question is meaningless, since both envelopes are pressumably assigned probability 0.5 of containing the largest amout, and thus by choosing to change your choice you are basically changing your probability of success from 0.5 to 0.5, which is trivial. It's like betting on "Heads" on a coin flip game, and then choosing to bet on "Tails" instead. You can certainly d...