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

Example Input: [7155, 'R', 5819, 'a', 'C', 4603, 1003, 'W', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'c', 2763, 'W', 'n', 7521, 4855, 9907, 'o', 'C', 1185, 'g'], [9921, 55, 5361, 'k', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'h', 8665, 'O', 633]
Example Output: N, Z, q, A, w, r, N, 6611, r, 8975, b, T

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: ['l', 'k', 3783, 'o', 477, 'p', 'Q', 4737, 7971, 7923, 6439, 'Z', 'r', 'g', 'e', 'p', 327, '1209', '3943', 'D', 'A', '9873', '5103', '6427', '3453', '8525', '7015', 'n', '3455', 'l', '7261', 'M', 'V', '9859', '549', '8873', '5291', 'Q', '6647', '8381', 'e', 'R', 'z', 6351, 6899, 'w', 4595, 3623, 'a', 8921, 8475, 'H', 'p', 6301, 'b', 6097], ['z', 'g', '1209', '3943', 'D', 'A', '9873', '5103', '6427', '3453', '8525', '7015', 'n', '3455', 'l', '7261', 'M', 'V', '9859', '549', '8873', '5291', 'Q', '6647', '8381', 'j', 2811, 1773, 7433, 7153, 8465, 1615]
Example Output:
1209, 3943, D, A, 9873, 5103, 6427, 3453, 8525, 7015, n, 3455, l, 7261, M, V, 9859, 549, 8873, 5291, Q, 6647, 8381