In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9917, 5863, 883, 'p', 'e', 'M', 'k', 'w', '2843', '6979', 'x', 'w', 'c', '1713', 'U', 'p', '2011', '8249', 'E', '7801', '5679', 'Q', '4379', '1837', '629', 'q', '1003', 'o', 9711, 'w'], [6779, 'S', 'B', 'y', 'X', 'K', 2989, 2311, 'L', 8979, 'a', 'i', 'e', 'M', 'k', 'w', '2843', '6979', 'x', 'w', 'c', '1713', 'U', 'p', '2011', '8249', 'E', '7801', '5679', 'Q', '4379', '1837', '629', 'q', '1003', 'A', 'j', 'b', 'k', 't', 'h', 9635, 6335, 'C', 'D', 'N', 3361, 7107, 'v', 'j', 'Z', 'F', 6067, 3203, 4791, 'F']