582. Explore the power of the dragon pattern