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

Example Input: [7395, 'b', 'k', 4085, 2295, 'W', 'e', 'd', '1583', '9993', 'x', '2291', '1847', 'R', 'a', 'n', 'r', 'G', '7947', '6081', 'H', 'K', 't', '6537', 'q', 'V', '3423', '9531', '4907', '123', '4757', 'J', 'S', 'Q', 'D', 'f', 4941, 6655, 8343, 2509, 6487, 'b', 'E', 'f', 'n', 'v', 'j', 7091, 9231, 9129, 7785, 9709, 2645, 3179, 'U', 631, 7891], [7807, 8461, 'n', 'C', 9827, 1359, 'O', 3781, 'k', 'n', 'F', 'l', 'x', 'O', 4867, 'd', '1583', '9993', 'x', '2291', '1847', 'R', 'a', 'n', 'r', 'G', '7947', '6081', 'H', 'K', 't', '6537', 'q', 'V', '3423', '9531', '4907', '123', '4757', 'J', 'S', 'Q', 'D', 'H', 'B', 'f', 'X', 2529, 2153, 'u', 'z', 747, 5899, 1307, 'l', 'Q', 'x', 3787, 'b', 1187, 'h', 9519, 3483, 'q']
Example Output: d, 1583, 9993, x, 2291, 1847, R, a, n, r, G, 7947, 6081, H, K, t, 6537, q, V, 3423, 9531, 4907, 123, 4757, J, S, Q, D

Example Input: [5701, 'Y', 2511, 4707, 'i', 9083, 1187, '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'X', 8863, 7467, 665, 3485, 4035, 'g', 8795], [189, 8331, 'N', 'S', 'U', '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'R', 't', 9581, 5575, 'Q', 'Q', 1209]
Example Output: 749, v, i, f, j, 5983, 4221, p, q, 8703, n, Z, O, A, H

Example Input: ['Z', 'K', 4939, 'T', '6189', '6263', 'f', 'B', 4891], [1483, 'A', 'T', '6189', '6263', 'a', 2415, 9729]
Example Output:
T, 6189, 6263