Problem #WSP - 000101

Problems Discrete Mathematics Combinatorics Permutations

Problem

We have a packet of 13 cards from Ace to King. Let Ace be the first card, 2 the second card and so on with King being the thirteenth card. How can you interchange 4 and 7 (and leave all other cards where they are) by only switching adjacent pairs of cards?