Problems 53 and 54.

Need to redo nasty 53 LCS answer.
Saw more elegant solutions, need to redo without inspiration.