Ameriprise Interview Question

Pirate puzzle.