Thirty-nine steps

The terms of solitaire

Number of decks: 2

Number of cards in the deck: 52

Number of players: 1

Solitaire goal: you need to collect all the cards on the base piles in ascending sequences in the suit.

Rules of Solitaire. Two decks are mixed into one, the deck is carefully packed and laid out 13 playing piles of 3 cards in each pile. The remaining deck is placed side by side. At the top of the piled stacks are places for base cards, where the starting cards are the aces that move there during the game. It is allowed to move cards from one game stack to another game stack in a descending sequence to suit. You can move both one card and the series of cards that make up the sequence. If an empty game stack is formed during the game, it is filled with any card. If all possible card moves are at a dead end, then it is allowed to use the cards of the remaining deck. The deck does not retake.

Solitaire converged if all the cards are collected on the base piles in ascending sequences in the suit.