Randy has a deck of 29 distinct cards. He chooses one of the 29! permutations of the deck and then repeatedly rearranges the deck using that permutation until the deck returns to its original order for the first time. What is the maximum number of times Randy may need to rearrange the deck?