Search target player's library for up to X cards, where X is the number of Swamps you control, and remove them from the game. Then that player shuffles his or her library.