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

Example Input: [9639, 'C', 9853, 'A', 'k', 633, 1303, 6893, 1461, 'O', 'i', 'E', 'L', 8811, 1123, 1523, 285, 'G', 6701, 'v', 'E', 2799, 9503, '6601', 'Z', 'H', '2771', '1129', 'G', '3897', '3577', '1459', '6281', '7955', '3751', '5339', 'R', '4343', '9107', 'Q', 'H', 'r', 'I', 'n', '5191', 'E', '3385', '9711', 'g', 'W', 'O', 9249, 3181, 3455], ['x', 'l', 7827, 8297, 'D', 5453, 6611, '6601', 'Z', 'H', '2771', '1129', 'G', '3897', '3577', '1459', '6281', '7955', '3751', '5339', 'R', '4343', '9107', 'Q', 'H', 'r', 'I', 'n', '5191', 'E', '3385', '9711', 'g', 'W', 'y', 4363, 8699, 'H', 'h', 4081, 'F', 'S', 8027, 'p', 'j']
Example Output: 6601, Z, H, 2771, 1129, G, 3897, 3577, 1459, 6281, 7955, 3751, 5339, R, 4343, 9107, Q, H, r, I, n, 5191, E, 3385, 9711, g, W

Example Input: ['n', 'B', 9073, 2685, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'Z', 'i', 643, 5111, 2247, 'a', 'D', 'd', 1549, 'y', 513, 9369], ['Q', 'n', 'z', 9967, 'S', 9781, 1179, 'f', 5261, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'G', 215, 'Q', 4821, 9073]
Example Output: 3289, 9837, 4995, e, 3075, m, 1005, 2279, P, 3949, 643, y, 6717, I, 891, k

Example Input: [1209, 'D', 5473, 'c', 'M', 6233, 'V', 117, 'n', 'W', '7685', '165', '2397', 'x', 'c', '2843', 'A', '7139', '7515', '2363', '4333', '2729', '6231', 'w', 'g', 'V', 'm', '6053', 'Z', 'h', 'w', '3897', '3293', '9271', 'Y', '9475', 'm', 'p', 'f', 2895, 4749, 'a'], ['j', 'r', 1041, 's', 7337, 'd', 8223, 5427, 4969, 'H', 'R', 'V', 'k', 'C', 6053, 'p', 'p', 8201, 'i', 'n', 'W', '7685', '165', '2397', 'x', 'c', '2843', 'A', '7139', '7515', '2363', '4333', '2729', '6231', 'w', 'g', 'V', 'm', '6053', 'Z', 'h', 'w', '3897', '3293', '9271', 'Y', '9475', 'm', 'P', 'N', 'c', 'P', 'T', 'Q', 9091, 4969, 6011, 7113, 8685, 'Z', 'm', 'e', 1925, 'V', 'n', 'e', 4075, 'w', 'V', 'Y', 1953, 7057, 'f', 3111, 'U']
Example Output:
n, W, 7685, 165, 2397, x, c, 2843, A, 7139, 7515, 2363, 4333, 2729, 6231, w, g, V, m, 6053, Z, h, w, 3897, 3293, 9271, Y, 9475, m