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: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]
Example Output: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163

Example Input: ['j', 'p', 'C', 1097, 6115, 5895, 'A', '6729', 'q', '9317', 'm', 'g', '2355', 's', '9535', 'q', '1735', 'i', '8257', '6339', '8673', 'P', 'N', 'M', 'V', 't', 7445, 'a', 'Y', 'n', 'L'], ['z', 9395, 7377, 'I', 'A', 6635, 8291, 2963, 'L', '6729', 'q', '9317', 'm', 'g', '2355', 's', '9535', 'q', '1735', 'i', '8257', '6339', '8673', 'P', 'F', 1891, 5435, 'n', 'B', 3359, 4529, 'c', 's', 6745, 8569, 4681, 'T', 'C', 6545]
Example Output:
6729, q, 9317, m, g, 2355, s, 9535, q, 1735, i, 8257, 6339, 8673, P