Rewriting Exponents in Expanded Form (Leaf Puzzle)