In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['c', 'p', 'G', 'k', 851, 'h', 'c', 'C', 5183, 'h', 4559, 'm', 'Y', 'D', '5679', 'C', 'Y', 'e', '7805', '8437', 'T', 'N', '6465', 'F', 'J', 'J', 4037, 'j', 297, 2007, 'R', 9975, 'H', 1341, 4957, 5399, 4387], ['U', 2151, 3525, 'w', 1033, 9009, 'o', 771, 4329, 'v', 'Y', 'D', '5679', 'C', 'Y', 'e', '7805', '8437', 'T', 'N', '6465', 'F', 'J', 'D', 8953, 'r', 5367, 5935]