Tri Peaks Solitaire

Move all the cards to the waste pile (the opened pile at the bottom). You can only move a card that is adjacent to the topmost card on the pile (A and K are considered adjacent). You can also open a card on the tableau (the covered cards at the bottom) and put it on the waste pile.