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

Example Input: [6507, 8623, 6879, '1327', '6971', 'd', 'A', 3663, 7831], [1711, 4751, 3479, '1327', '6971', 'd', 'u', 1771]
Example Output: 1327, 6971, d

Example Input: [2481, 7755, 2663, 2449, 4291, 'b', 5343, 'F', 'A', '3811', 'G', 'I', '415', '6825', '2449', 'q', 'W', 'x', 't', 'K', 'l', 539, 3959], ['W', 'N', 'K', 4351, '3811', 'G', 'I', '415', '6825', '2449', 'q', 'W', 'x', 'c', 9833]
Example Output: 3811, G, I, 415, 6825, 2449, q, W, x

Example Input: ['v', 7801, 'N', 'k', 'D', 'a', 'V', 8349, '4787', '705', '1477', 'P', '6399', 'K', '2713', '4577', '5393', 'l', '6703', '7793', '3469', 'j', 'j', 'X', 'X', '8523', 'a', 'c', 9531, 'T', 5999, 'z', 'Z', 8707, 'A', 'R', 1315, 'a', 4435, 4845], [8733, 'w', 'e', 'P', 3625, 'h', 5479, '4787', '705', '1477', 'P', '6399', 'K', '2713', '4577', '5393', 'l', '6703', '7793', '3469', 'j', 'j', 'X', 'X', '8523', 'N', 7751, 'J', 'a', 1039, 'U', 895, 9779, 8971, 9223, 3249, 3965, 9085]
Example Output:
4787, 705, 1477, P, 6399, K, 2713, 4577, 5393, l, 6703, 7793, 3469, j, j, X, X, 8523