Good work ! The only problem with your solution is that the problem title is "Difficult Sequence (single)", not "Difficult Sequences (plural)." So there has to be just one sequence, not two. But that's nitpicking.......