In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['d', 2045, 9047, 9579, 'O', 3719, 'z', 39, 2073, 6149, 7571, 'k', 745, 'E', 2747, 9277, 8121, 'S', 'h', 'x', 'U', '1483', '7407', 'M', 'p', '7677', 'f', 'T', '7423', 'r', '265', 'U', 'z', 'l', '8531', '5391', '7137', 'S', '3959', 'w', 'x', '9981', 'k', 'T', 'T', 'b', 9111, 'b', 'M', 'l', 4733, 'Y', 3635, 2695], [3191, 'y', 'y', '1483', '7407', 'M', 'p', '7677', 'f', 'T', '7423', 'r', '265', 'U', 'z', 'l', '8531', '5391', '7137', 'S', '3959', 'w', 'x', '9981', 'k', 'l', 'C', 's', 6817, 'I', 1487, 3471, 6771, 8401, 'X', 7481, 'l', 7957, 1389, 'J', 181, 'V']
A:
1483, 7407, M, p, 7677, f, T, 7423, r, 265, U, z, l, 8531, 5391, 7137, S, 3959, w, x, 9981, k