This isn't a trick question. I could reduce this problem down to the following problem:
Given the numbers 1-52, you need to devise a method that tells you, for each possible subset of 5 numbers from those numbers, which 4 cards out of the 5 to choose and in what order to put them, and only from those numbers and their order, anyone else knowing your method can deduce what the 5th number is.