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

Example Input: [5381, 'H', 'w', 9281, 3195, 2609, 'v', 'q', 'O', 10019, 'Q', 'K', 'c', 'J', 'A', 'a', 313, 5517, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'z', 4391, 'Z', 3229, 'f', 'z', 6131, 'm', 'U', 5825], [6363, 6625, 'f', 7841, 'J', 'j', 993, 'p', 'f', 'X', 'j', 361, 4325, 'a', 649, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'G', 6719, 2367, 9155, 'B', 7493, 9415, 'j', 'k', 'j', 'v', 'k', 'Z', 9021, 'f', 'x', 3213, 'p', 3453, 'w']
Example Output: 3007, 1737, F, a, 4559, 3987, 6211, v, 5531, 9565, 1705, 7747, 8567, 5965, 4195, p, 2775, g, K, n, B, U, T, 8995, c, 2831, n, Q, l, 6749

Example Input: ['M', 7643, 'K', 8165, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'L', 5655, 5237, 'G', 'H', 'g', 'K', 9089], ['t', 1921, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'H', 2771, 7085]
Example Output: e, 6737, 6573, 9181, n, l, 6555, 7291, 1765, Q, 4605, 7507, 6775, x, n, 8703, y, 2301, E

Example Input: [8163, 2859, 7677, '2413', 'K', '7231', 'l', 'r', 'g', 'S', 'T', 'A', '7627', 'O', 'X', '9665', 'N', 'G', 'q', 'Q', 'v', 1259, 'p', 3785, 'i', 247, 'B', 8157, 2227], ['V', 4395, 'V', 6529, 'j', 'Z', 2901, 5113, 9773, 'm', '2413', 'K', '7231', 'l', 'r', 'g', 'S', 'T', 'A', '7627', 'O', 'X', '9665', 'N', 'G', 'q', 't', 5107, 8693, 9703, 'K', 'V', 7813, 'l', 'Y', 'l', 't', 7255]
Example Output:
2413, K, 7231, l, r, g, S, T, A, 7627, O, X, 9665, N, G, q