In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6395, 5729, 'L', 'y', 'Q', 1345, 6681, 'W', 'E', 'g', 'Z', 8597, 6777, 10019, 'm', '4553', 'J', 'M', 'F', '6655', 'y', '1649', 'y', '9591', 'b', 'g', '7717', '8697', 'h', 'F', 'O', '1835', 'Q', 'c', 'd', 77, 'R', 9953, 7691, 3555, 'U', 4705, 'b'], ['a', 'C', 's', 9515, 'e', 'm', '4553', 'J', 'M', 'F', '6655', 'y', '1649', 'y', '9591', 'b', 'g', '7717', '8697', 'h', 'F', 'O', '1835', 'Q', 'n', 6029, 'i', 7997, 4737, 'r', 5553, 677, 'p', 6737]