In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]
Example Output: I, 2495, 1015, L, 581

Example Input: [7045, 'e', 3545, 6563, '5913', 'X', '5591', 'o', 'T', 'b'], [145, 'm', 'I', 'F', '5913', 'X', '5591', 'o', 'F', 6499, 3777]
Example Output: 5913, X, 5591, o

Example Input: ['k', 'F', 'm', 'o', '4415', 'Q', '6341', '37', '3237', '1177', 'X', 'b', 'y', 'M', 'B'], ['m', 6259, 6843, 'H', 2685, 'f', '4415', 'Q', '6341', '37', '3237', '1177', 'c', 2257, 4957, 'w', 3087]
Example Output:
4415, Q, 6341, 37, 3237, 1177